Class: SauceWhisk::SubAccount

Inherits:
Account
  • Object
show all
Defined in:
lib/sauce_whisk/accounts.rb

Instance Attribute Summary collapse

Attributes inherited from Account

#access_key, #mac_concurrency, #mac_manual_minutes, #mac_minutes, #manual_minutes, #minutes, #total_concurrency, #username

Instance Method Summary collapse

Methods inherited from Account

#add_subaccount

Constructor Details

#initialize(parent, options) ⇒ SubAccount

Returns a new instance of SubAccount.



76
77
78
79
# File 'lib/sauce_whisk/accounts.rb', line 76

def initialize(parent, options)
  @parent = parent
  super(options)
end

Instance Attribute Details

#parentObject (readonly)

Returns the value of attribute parent.



74
75
76
# File 'lib/sauce_whisk/accounts.rb', line 74

def parent
  @parent
end