Class: Seatsio::StatusChangeOrigin
- Inherits:
-
Object
- Object
- Seatsio::StatusChangeOrigin
- Defined in:
- lib/seatsio/domain.rb
Instance Attribute Summary collapse
-
#ip ⇒ Object
readonly
Returns the value of attribute ip.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(data) ⇒ StatusChangeOrigin
constructor
A new instance of StatusChangeOrigin.
Constructor Details
#initialize(data) ⇒ StatusChangeOrigin
Returns a new instance of StatusChangeOrigin.
619 620 621 622 |
# File 'lib/seatsio/domain.rb', line 619 def initialize(data) @type = data['type'] @ip = data['ip'] end |
Instance Attribute Details
#ip ⇒ Object (readonly)
Returns the value of attribute ip.
617 618 619 |
# File 'lib/seatsio/domain.rb', line 617 def ip @ip end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
617 618 619 |
# File 'lib/seatsio/domain.rb', line 617 def type @type end |