module NeonRAW::Objects::Thing::Inboxable

Methods for things that appear in your inbox.

Public Instance Methods

reply(text) click to toggle source

Add a text reply to a comment/private message. @!method reply(text) @param text [String] The text you want to reply with.

# File lib/NeonRAW/objects/thing/inboxable.rb, line 19
def reply(text)
  params = { api_type: 'json', text: text, thing_id: name }
  @client.request_data('/api/comment', :post, params)
end