lib/bushido/app.rb in bushido-0.0.14 vs lib/bushido/app.rb in bushido-0.0.15
- old
+ new
@@ -3,10 +3,10 @@
# and only contains class methods. Each method will check for the most recent data,
# so it's possible the data may change between two separate calls.
class App
class << self
def app_url #:nodoc:
- "#{Bushido::Platform.host}/apps/#{Bushido::Platform.app}.json"
+ "#{Bushido::Platform.host}/apps/#{Bushido::Platform.name}.json"
end
def get(params={}) #:nodoc:
Bushido::Command.get_command(app_url, params)