Class: Xcode::Deploy::Kickfolio

Inherits:
Object
  • Object
show all
Defined in:
lib/xcode/deploy/kickfolio.rb

Instance Method Summary collapse

Constructor Details

#initialize(bundler, options = {}) ⇒ Kickfolio

Returns a new instance of Kickfolio.



5
6
7
8
# File 'lib/xcode/deploy/kickfolio.rb', line 5

def initialize(bundler, options={})
	@bundler = bundler
	@options = options
end

Instance Method Details

#deployObject



10
11
12
13
14
# File 'lib/xcode/deploy/kickfolio.rb', line 10

def deploy
	RestClient.post "https://kickfolio.com/api/apps/#{@options[:app_id]}", 
		{:bundle_url => @options[:url], :auth_token => @options[:api_key]},
		:content_type => 'application/json'
end