Module: Mackerel::REST::Organization
- Included in:
- Client
- Defined in:
- lib/mackerel/organization.rb
Instance Method Summary collapse
Instance Method Details
#get_organization ⇒ Object
25 26 27 28 29 |
# File 'lib/mackerel/organization.rb', line 25 def get_organization() command = ApiCommand.new(:get, '/api/v0/org', @api_key) data = command.execute(client) Mackerel::Organization.new(data) end |