Class: SalsaLabs::Supporter
Instance Attribute Summary
Attributes inherited from SalsaObject
#attributes
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from SalsaObject
#initialize, #organization_key
Class Method Details
.fetch(credentials = {}) ⇒ Object
11
12
13
14
15
|
# File 'lib/salsa_labs/supporter.rb', line 11
def self.fetch(credentials = {})
ObjectsFetcher.fetch(credentials: credentials,
type: 'supporter',
item_class: self)
end
|
Instance Method Details
#email ⇒ Object
3
4
5
|
# File 'lib/salsa_labs/supporter.rb', line 3
def email
attributes['email']
end
|
#supporter_key ⇒ Object
7
8
9
|
# File 'lib/salsa_labs/supporter.rb', line 7
def supporter_key
attributes['supporter_key'].to_i
end
|