Module: Organizations
- Included in:
- DashboardAPI
- Defined in:
- lib/organizations.rb
Overview
Organization section of the Meraki Dashboard API
Instance Method Summary collapse
-
#get_inventory(org_id) ⇒ Array
Returns the current inventory for an organization.
-
#get_license_state(org_id) ⇒ Hash
Returns the current license state for a given organization.
-
#get_organization(org_id) ⇒ Hash
Returns information about an organization.
-
#get_snmp_status(org_id) ⇒ Hash
Returns the current SNMP status for an organization.
-
#get_third_party_peers(org_id) ⇒ Array
Returns the configurations for an organizations 3rd party VPN peers.
Instance Method Details
#get_inventory(org_id) ⇒ Array
Returns the current inventory for an organization
21 22 23 |
# File 'lib/organizations.rb', line 21 def get_inventory(org_id) self.make_api_call("/organizations/#{org_id}/inventory", 'GET') end |
#get_license_state(org_id) ⇒ Hash
Returns the current license state for a given organization
14 15 16 |
# File 'lib/organizations.rb', line 14 def get_license_state(org_id) self.make_api_call("/organizations/#{org_id}/licenseState", 'GET') end |
#get_organization(org_id) ⇒ Hash
Returns information about an organization
7 8 9 |
# File 'lib/organizations.rb', line 7 def get_organization(org_id) self.make_api_call("/organizations/#{org_id}", 'GET') end |
#get_snmp_status(org_id) ⇒ Hash
Returns the current SNMP status for an organization
28 29 30 |
# File 'lib/organizations.rb', line 28 def get_snmp_status(org_id) self.make_api_call("/organizations/#{org_id}/snmp", 'GET') end |
#get_third_party_peers(org_id) ⇒ Array
Returns the configurations for an organizations 3rd party VPN peers
36 37 38 |
# File 'lib/organizations.rb', line 36 def get_third_party_peers(org_id) self.make_api_call("/organizations/#{org_id}/thirdPartyVPNPeers", 'GET') end |