Class: ShopifyAPI::Ping::Conversation
- Inherits:
-
Base
- Object
- ActiveResource::Base
- Base
- ShopifyAPI::Ping::Conversation
- Defined in:
- lib/shopify_api/resources/ping/conversation.rb
Instance Method Summary collapse
Methods inherited from Base
activate_session, #as_json, clear_session, #encode, #headers, init_prefix, init_prefix_explicit, #persisted?
Methods included from Countable
Methods inherited from ActiveResource::Base
Instance Method Details
#send_message(message_attrs) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/shopify_api/resources/ping/conversation.rb', line 8 def () = ShopifyAPI::Ping::Message.new( .merge(conversation_id: id) ) .save end |