Class: XCJobs::Distribute::Crashlytics

Inherits:
Rake::TaskLib
  • Object
show all
Includes:
Rake::DSL, XCJobs::Distribute
Defined in:
lib/xcjobs/distribute.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from XCJobs::Distribute

#after_action, #before_action, #upload

Constructor Details

#initialize {|_self| ... } ⇒ Crashlytics

Returns a new instance of Crashlytics.

Yields:

  • (_self)

Yield Parameters:



132
133
134
135
136
137
138
# File 'lib/xcjobs/distribute.rb', line 132

def initialize()
  @notifications = true
  @emails = []
  @group_aliases = []
  yield self if block_given?
  define
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



127
128
129
# File 'lib/xcjobs/distribute.rb', line 127

def api_key
  @api_key
end

#build_secretObject

Returns the value of attribute build_secret.



128
129
130
# File 'lib/xcjobs/distribute.rb', line 128

def build_secret
  @build_secret
end

#fileObject

Returns the value of attribute file.



126
127
128
# File 'lib/xcjobs/distribute.rb', line 126

def file
  @file
end

#framework_pathObject

Returns the value of attribute framework_path.



125
126
127
# File 'lib/xcjobs/distribute.rb', line 125

def framework_path
  @framework_path
end

#notesObject

Returns the value of attribute notes.



129
130
131
# File 'lib/xcjobs/distribute.rb', line 129

def notes
  @notes
end

#notificationsObject

Returns the value of attribute notifications.



130
131
132
# File 'lib/xcjobs/distribute.rb', line 130

def notifications
  @notifications
end

Instance Method Details

#add_email(email) ⇒ Object



140
141
142
# File 'lib/xcjobs/distribute.rb', line 140

def add_email(email)
  @emails << email
end

#add_group_alias(group_alias) ⇒ Object



144
145
146
# File 'lib/xcjobs/distribute.rb', line 144

def add_group_alias(group_alias)
  @group_aliases << group_alias
end