Class: RubyIsds::Responses::Message

Inherits:
RubyIsds::Response show all
Defined in:
lib/ruby_isds/responses/message.rb

Instance Attribute Summary

Attributes inherited from RubyIsds::Response

#body, #status

Instance Method Summary collapse

Methods inherited from RubyIsds::Response

#parsed_body, #result_key

Constructor Details

#initialize(response) ⇒ Message

Returns a new instance of Message.



4
5
6
# File 'lib/ruby_isds/responses/message.rb', line 4

def initialize(response)
  super
end

Instance Method Details

#messageObject



8
9
10
# File 'lib/ruby_isds/responses/message.rb', line 8

def message
  ::RubyIsds::DataMessage.new(message_hash)
end