Method: BaseCRM::TextMessagesService#find
- Defined in:
- lib/basecrm/services/text_messages_service.rb
#find(id) ⇒ TextMessage
Retrieve a single text message
get ‘/text_messages/BaseCRM#id’
Returns a single text message according to the unique ID provided If the specified user does not exist, this query returns an error
49 50 51 52 53 |
# File 'lib/basecrm/services/text_messages_service.rb', line 49 def find(id) _, _, root = @client.get("/text_messages/#{id}") TextMessage.new(root[:data]) end |