Class: Seatsio::Domain::Subaccount

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

Instance Attribute Summary collapse

Attributes inherited from Account

#active, #designer_key, #email, #id, #name, #secret_key, #settings

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Subaccount

Returns a new instance of Subaccount.



160
161
162
163
# File 'lib/seatsio/domain.rb', line 160

def initialize(data)
  super
  @public_key = data['publicKey']
end

Instance Attribute Details

#public_keyObject (readonly)

Returns the value of attribute public_key.



158
159
160
# File 'lib/seatsio/domain.rb', line 158

def public_key
  @public_key
end

#workspaceObject (readonly)

Returns the value of attribute workspace.



158
159
160
# File 'lib/seatsio/domain.rb', line 158

def workspace
  @workspace
end