Class: SalsaLabs::SupporterAction
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
15
16
17
18
19
|
# File 'lib/salsa_labs/supporter_action.rb', line 15
def self.fetch(credentials = {})
ObjectsFetcher.fetch(type: 'supporter_action',
item_class: self,
credentials: credentials)
end
|
Instance Method Details
#action_key ⇒ Object
7
8
9
|
# File 'lib/salsa_labs/supporter_action.rb', line 7
def action_key
attributes['action_key'].to_i if attributes['action_key']
end
|
#supporter_action_key ⇒ Object
11
12
13
|
# File 'lib/salsa_labs/supporter_action.rb', line 11
def supporter_action_key
attributes['supporter_action_key'].to_i if attributes['supporter_action_key']
end
|
#supporter_key ⇒ Object
3
4
5
|
# File 'lib/salsa_labs/supporter_action.rb', line 3
def supporter_key
attributes['supporter_key'].to_i if attributes['supporter_key']
end
|