Class: Seatsio::Domain::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.



124
125
126
127
128
129
130
131
# File 'lib/seatsio/domain.rb', line 124

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.



122
123
124
# File 'lib/seatsio/domain.rb', line 122

def active
  @active
end

#designer_keyObject (readonly)

Returns the value of attribute designer_key.



122
123
124
# File 'lib/seatsio/domain.rb', line 122

def designer_key
  @designer_key
end

#idObject (readonly)

Returns the value of attribute id.



122
123
124
# File 'lib/seatsio/domain.rb', line 122

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



122
123
124
# File 'lib/seatsio/domain.rb', line 122

def name
  @name
end

#public_keyObject (readonly)

Returns the value of attribute public_key.



122
123
124
# File 'lib/seatsio/domain.rb', line 122

def public_key
  @public_key
end

#secret_keyObject (readonly)

Returns the value of attribute secret_key.



122
123
124
# File 'lib/seatsio/domain.rb', line 122

def secret_key
  @secret_key
end