lib/gowalla.rb in gowalla-0.4.2 vs lib/gowalla.rb in gowalla-0.5.1

- old
+ new

@@ -11,20 +11,11 @@ attr_accessor :username attr_accessor :password attr_accessor :api_secret attr_accessor :test_mode - # config/initializers/gowalla.rb (for instance) - # - # Gowalla.configure do |config| - # config.api_key = 'api_key' - # config.username = 'username' - # config.password = 'password' - # end - # - # elsewhere - # - # client = Gowalla::Client.new + # Configures default credentials easily + # @yield [api_key, username, password] def configure yield self true end