Class: Seatsio::Domain::StatusChangeOrigin

Inherits:
Object
  • Object
show all
Defined in:
lib/seatsio/domain.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ StatusChangeOrigin

Returns a new instance of StatusChangeOrigin.



452
453
454
455
# File 'lib/seatsio/domain.rb', line 452

def initialize(data)
  @type = data['type']
  @ip = data['ip']
end

Instance Attribute Details

#ipObject (readonly)

Returns the value of attribute ip.



450
451
452
# File 'lib/seatsio/domain.rb', line 450

def ip
  @ip
end

#typeObject (readonly)

Returns the value of attribute type.



450
451
452
# File 'lib/seatsio/domain.rb', line 450

def type
  @type
end