Class: HockeyAppConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/motion-hockeyapp-task.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_tokenObject

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_idObject

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_idObject

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_typeObject

Returns the value of attribute notes_type.



31
32
33
# File 'lib/motion-hockeyapp-task.rb', line 31

def notes_type
  @notes_type
end

#notifyObject

Returns the value of attribute notify.



31
32
33
# File 'lib/motion-hockeyapp-task.rb', line 31

def notify
  @notify
end

#statusObject

Returns the value of attribute status.



31
32
33
# File 'lib/motion-hockeyapp-task.rb', line 31

def status
  @status
end

Instance Method Details

#inspectObject



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