class XCJobs::Distribute::Crittercism
Attributes
app_id[RW]
dsym[RW]
key[RW]
Public Class Methods
new() { |self| ... }
click to toggle source
# File lib/xcjobs/distribute.rb, line 248 def initialize() yield self if block_given? define end
Private Instance Methods
define()
click to toggle source
# File lib/xcjobs/distribute.rb, line 255 def define namespace :distribute do desc 'upload dSYMs to Crittercism' task :crittercism do upload("https://api.crittercism.com/api_beta/dsym/#{app_id}", form_data) end end end
form_data()
click to toggle source
# File lib/xcjobs/distribute.rb, line 264 def form_data {}.tap do |fields| fields[:dsym] = "@#{dsym}" if dsym fields[:key] = key if key end end