Class: Coinigy::Preferences
Overview
Represents the Preferences of a user subscription to Coinigy
Instance Attribute Summary collapse
-
#alert_email ⇒ Object
Returns the value of attribute alert_email.
-
#alert_sms ⇒ Object
Returns the value of attribute alert_sms.
-
#balance_email ⇒ Object
Returns the value of attribute balance_email.
-
#subscription ⇒ Object
Other objects.
-
#trade_email ⇒ Object
Returns the value of attribute trade_email.
-
#trade_sms ⇒ Object
Returns the value of attribute trade_sms.
Attributes inherited from Model
Instance Method Summary collapse
Methods inherited from Model
#errors?, #initialize, #inspect, #save
Constructor Details
This class inherits a constructor from Coinigy::Model
Instance Attribute Details
#alert_email ⇒ Object
Returns the value of attribute alert_email
4 5 6 |
# File 'lib/coinigy/preferences.rb', line 4 def alert_email @alert_email end |
#alert_sms ⇒ Object
Returns the value of attribute alert_sms
4 5 6 |
# File 'lib/coinigy/preferences.rb', line 4 def alert_sms @alert_sms end |
#balance_email ⇒ Object
Returns the value of attribute balance_email
4 5 6 |
# File 'lib/coinigy/preferences.rb', line 4 def balance_email @balance_email end |
#subscription ⇒ Object
Other objects
9 10 11 |
# File 'lib/coinigy/preferences.rb', line 9 def subscription @subscription end |
#trade_email ⇒ Object
Returns the value of attribute trade_email
4 5 6 |
# File 'lib/coinigy/preferences.rb', line 4 def trade_email @trade_email end |
#trade_sms ⇒ Object
Returns the value of attribute trade_sms
4 5 6 |
# File 'lib/coinigy/preferences.rb', line 4 def trade_sms @trade_sms end |
Instance Method Details
#attributes ⇒ Object
11 12 13 14 15 |
# File 'lib/coinigy/preferences.rb', line 11 def attributes { "alert_email" => alert_email, "alert_sms" => alert_sms, "trade_email" => trade_email, "trade_sms" => trade_sms, "balance_email" => balance_email } end |