Class: HockeyAppConfig
- Inherits:
-
Object
- Object
- HockeyAppConfig
- Defined in:
- lib/motion-hockeyapp-task.rb
Instance Attribute Summary collapse
-
#api_token ⇒ Object
Returns the value of attribute api_token.
-
#beta_id ⇒ Object
Returns the value of attribute beta_id.
-
#live_id ⇒ Object
Returns the value of attribute live_id.
-
#notes_type ⇒ Object
Returns the value of attribute notes_type.
-
#notify ⇒ Object
Returns the value of attribute notify.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(config) ⇒ HockeyAppConfig
constructor
A new instance of HockeyAppConfig.
- #inspect ⇒ Object
- #set(var, val) ⇒ Object
Constructor Details
#initialize(config) ⇒ HockeyAppConfig
Returns a new instance of HockeyAppConfig.
37 38 39 |
# File 'lib/motion-hockeyapp-task.rb', line 37 def initialize(config) @config = config end |
Instance Attribute Details
#api_token ⇒ Object
Returns the value of attribute api_token.
31 32 33 |
# File 'lib/motion-hockeyapp-task.rb', line 31 def api_token @api_token end |
#beta_id ⇒ Object
Returns the value of attribute beta_id.
31 32 33 |
# File 'lib/motion-hockeyapp-task.rb', line 31 def beta_id @beta_id end |
#live_id ⇒ Object
Returns the value of attribute live_id.
31 32 33 |
# File 'lib/motion-hockeyapp-task.rb', line 31 def live_id @live_id end |
#notes_type ⇒ Object
Returns the value of attribute notes_type.
31 32 33 |
# File 'lib/motion-hockeyapp-task.rb', line 31 def notes_type @notes_type end |
#notify ⇒ Object
Returns the value of attribute notify.
31 32 33 |
# File 'lib/motion-hockeyapp-task.rb', line 31 def notify @notify end |
#status ⇒ Object
Returns the value of attribute status.
31 32 33 |
# File 'lib/motion-hockeyapp-task.rb', line 31 def status @status end |
Instance Method Details
#inspect ⇒ Object
41 42 43 |
# File 'lib/motion-hockeyapp-task.rb', line 41 def inspect {:api_token => api_token, :beta_id => beta_id, :live_id => live_id, :status => status, :notify => notify, :notes_type => notes_type}.inspect end |
#set(var, val) ⇒ Object
33 34 35 |
# File 'lib/motion-hockeyapp-task.rb', line 33 def set(var, val) send("#{var}=", val) end |