Method: OneviewSDK::API200::Switch.get_types
- Defined in:
- lib/oneview-sdk/resource/api200/switch.rb
.get_types(client) ⇒ Array
Retrieves the switch types
53 54 55 56 57 |
# File 'lib/oneview-sdk/resource/api200/switch.rb', line 53 def self.get_types(client) response = client.rest_get(TYPE_URI) response = client.response_handler(response) response['members'] end |