Method: Morpheus::UserSourcesInterface#get
- Defined in:
- lib/morpheus/api/user_sources_interface.rb
#get(account_id, id) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/morpheus/api/user_sources_interface.rb', line 5 def get(account_id, id) raise "#{self.class}.get() passed a blank id!" if id.to_s == '' url = build_url(account_id, id) headers = { params: {}, authorization: "Bearer #{@access_token}" } opts = {method: :get, url: url, timeout: 10, headers: headers} execute(opts) end |