Class: Varanus::Organization

Inherits:
RestResource show all
Defined in:
lib/varanus/organization.rb

Overview

A connection to the Organization API

Instance Method Summary collapse

Methods inherited from RestResource

#initialize

Constructor Details

This class inherits a constructor from Varanus::RestResource

Instance Method Details

#info(id) ⇒ Object

Return info on organization.



6
7
8
# File 'lib/varanus/organization.rb', line 6

def info id
  get("organization/v1/#{id}")
end

#listObject



10
11
12
# File 'lib/varanus/organization.rb', line 10

def list
  get('organization/v1')
end