Class: OpenMarket::SMS::Requests::MessageStatus

Inherits:
Object
  • Object
show all
Defined in:
lib/open_market/sms/requests/message_status.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ticket_id) ⇒ MessageStatus

Returns a new instance of MessageStatus.



8
9
10
# File 'lib/open_market/sms/requests/message_status.rb', line 8

def initialize(ticket_id)
  @ticket_id = ticket_id
end

Instance Attribute Details

#ticket_idObject

Returns the value of attribute ticket_id.



6
7
8
# File 'lib/open_market/sms/requests/message_status.rb', line 6

def ticket_id
  @ticket_id
end

Instance Method Details

#bodyObject



12
# File 'lib/open_market/sms/requests/message_status.rb', line 12

def body;end

#methodObject



18
19
20
# File 'lib/open_market/sms/requests/message_status.rb', line 18

def method
  :get
end

#urlObject



14
15
16
# File 'lib/open_market/sms/requests/message_status.rb', line 14

def url
  "#{SMS::Client::BASE_URL}/mt/#{@ticket_id}/status"
end