Method: BaseCRM::SourcesService#find
- Defined in:
- lib/basecrm/services/sources_service.rb
#find(id) ⇒ Source
Retrieve a single source
get ‘/sources/BaseCRM#id’
Returns a single source available to the user by the provided id If a source with the supplied unique identifier does not exist it returns an error
71 72 73 74 75 |
# File 'lib/basecrm/services/sources_service.rb', line 71 def find(id) _, _, root = @client.get("/sources/#{id}") Source.new(root[:data]) end |