class Heroku::Model::Account
Public Class Methods
new(params = {})
click to toggle source
Calls superclass method
# File lib/heroku/model/account.rb, line 27 def initialize(params = {}) super(*struct_init_from_hash(params)) end
Public Instance Methods
identifiable()
click to toggle source
# File lib/heroku/model/account.rb, line 35 def identifiable sub_struct_as_hash(:id, :email) end
inspect()
click to toggle source
# File lib/heroku/model/account.rb, line 23 def inspect "#<#{self.class.name} #{identifier}>" end
patchable()
click to toggle source
# File lib/heroku/model/account.rb, line 31 def patchable sub_struct_as_hash(:email, :allow_tracking) end
save()
click to toggle source
# File lib/heroku/model/account.rb, line 39 def save parent.update_account(self) end