Method: Morpheus::CloudsInterface#list
- Defined in:
- lib/morpheus/api/clouds_interface.rb
#list(params = {}) ⇒ Object
39 40 41 42 43 44 |
# File 'lib/morpheus/api/clouds_interface.rb', line 39 def list(params={}) url = "#{@base_url}/api/zones" headers = { params: params, authorization: "Bearer #{@access_token}" } opts = {method: :get, url: url, headers: headers} execute(opts) end |