Class: Seatsio::Subaccount

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Subaccount

Returns a new instance of Subaccount.



180
181
182
183
184
185
186
187
# File 'lib/seatsio/domain.rb', line 180

def initialize(data)
  @id = data['id']
  @public_key = data['publicKey']
  @secret_key = data['secretKey']
  @designer_key = data['designerKey']
  @name = data['name']
  @active = data['active']
end

Instance Attribute Details

#activeObject (readonly)

Returns the value of attribute active.



178
179
180
# File 'lib/seatsio/domain.rb', line 178

def active
  @active
end

#designer_keyObject (readonly)

Returns the value of attribute designer_key.



178
179
180
# File 'lib/seatsio/domain.rb', line 178

def designer_key
  @designer_key
end

#idObject (readonly)

Returns the value of attribute id.



178
179
180
# File 'lib/seatsio/domain.rb', line 178

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



178
179
180
# File 'lib/seatsio/domain.rb', line 178

def name
  @name
end

#public_keyObject (readonly)

Returns the value of attribute public_key.



178
179
180
# File 'lib/seatsio/domain.rb', line 178

def public_key
  @public_key
end

#secret_keyObject (readonly)

Returns the value of attribute secret_key.



178
179
180
# File 'lib/seatsio/domain.rb', line 178

def secret_key
  @secret_key
end