Class: RubyIsds::Responses::Messages::Event

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

Instance Attribute Summary collapse

Attributes inherited from RubyIsds::Response

#body, #status

Instance Method Summary collapse

Methods inherited from RubyIsds::Response

#parsed_body, #result_key

Constructor Details

#initialize(hash) ⇒ Event

Returns a new instance of Event.



7
8
9
10
# File 'lib/ruby_isds/responses/messages/event.rb', line 7

def initialize(hash)
  @dmEventTime = hash['dmEventTime']
  @dmEventDescr = hash['dmEventDescr']
end

Instance Attribute Details

#dmEventDescrObject

Returns the value of attribute dmEventDescr.



5
6
7
# File 'lib/ruby_isds/responses/messages/event.rb', line 5

def dmEventDescr
  @dmEventDescr
end

#dmEventTimeObject

Returns the value of attribute dmEventTime.



5
6
7
# File 'lib/ruby_isds/responses/messages/event.rb', line 5

def dmEventTime
  @dmEventTime
end