Method: AppStore::Agent#method_missing

Defined in:
lib/app_store/agent.rb

#method_missing(method, *args) ⇒ Object (private)



20
21
22
23
24
# File 'lib/app_store/agent.rb', line 20

def method_missing(method, *args)
  # OPTIMIZE: we should use a 'camelize' method instead of capitalize
  AppStore::Helper::Proxy.new :to => "AppStore::#{method.to_s.capitalize}".constantize,
                              :extra => {:client => @client}
end