Class: XCJobs::Distribute::Crashlytics
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- XCJobs::Distribute::Crashlytics
- Includes:
- Rake::DSL, XCJobs::Distribute
- Defined in:
- lib/xcjobs/distribute.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#build_secret ⇒ Object
Returns the value of attribute build_secret.
-
#file ⇒ Object
Returns the value of attribute file.
-
#framework_path ⇒ Object
Returns the value of attribute framework_path.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#notifications ⇒ Object
Returns the value of attribute notifications.
Instance Method Summary collapse
- #add_email(email) ⇒ Object
- #add_group_alias(group_alias) ⇒ Object
-
#initialize {|_self| ... } ⇒ Crashlytics
constructor
A new instance of Crashlytics.
Methods included from XCJobs::Distribute
#after_action, #before_action, #upload
Constructor Details
#initialize {|_self| ... } ⇒ Crashlytics
Returns a new instance of Crashlytics.
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_key ⇒ Object
Returns the value of attribute api_key.
127 128 129 |
# File 'lib/xcjobs/distribute.rb', line 127 def api_key @api_key end |
#build_secret ⇒ Object
Returns the value of attribute build_secret.
128 129 130 |
# File 'lib/xcjobs/distribute.rb', line 128 def build_secret @build_secret end |
#file ⇒ Object
Returns the value of attribute file.
126 127 128 |
# File 'lib/xcjobs/distribute.rb', line 126 def file @file end |
#framework_path ⇒ Object
Returns the value of attribute framework_path.
125 126 127 |
# File 'lib/xcjobs/distribute.rb', line 125 def framework_path @framework_path end |
#notes ⇒ Object
Returns the value of attribute notes.
129 130 131 |
# File 'lib/xcjobs/distribute.rb', line 129 def notes @notes end |
#notifications ⇒ Object
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 |