lib/hackpad/cli/api.rb in hackpad-cli-0.1.0 vs lib/hackpad/cli/api.rb in hackpad-cli-0.1.1

- old
+ new

@@ -11,12 +11,12 @@ module Api module_function def prepare(config) consumer = OAuth::Consumer.new( - config['client_id'], - config['secret'], - site: config['site'] + config.client_id, + config.secret, + site: config.site ) @token = OAuth::AccessToken.new consumer end def search(term, start = 0)