dblessing / rundeck-ruby

Rundeck Ruby Client - A Ruby wrapper around the Rundeck API
http://blessing.io/rundeck-ruby/
BSD 2-Clause "Simplified" License
17 stars 11 forks source link

Simplify the key objects #14

Closed dblessing closed 9 years ago

dblessing commented 9 years ago

Be a 'thin' wrapper - don't objectify so deep in the response hash.

dblessing commented 9 years ago

I'm going to leave this as is for now. If people complain we will address for 2.0. The key response object just isn't all that clear if we don't objectify a few levels down. For example, to get at multiple keys the user would need to do obj.resource.contents.resource[0].