Sha256: 48751a4acc936210e1e6798ea349a54e3cbbc54e63c654d59129d2bfcd5db71a

Contents?: true

Size: 292 Bytes

Versions: 72

Compression:

Stored size: 292 Bytes

Contents

module SmartyStreets
  class StaticCredentials
    def initialize(auth_id, auth_token)
      @auth_id = auth_id
      @auth_token = auth_token
    end

    def sign(request)
      request.parameters['auth-id'] = @auth_id
      request.parameters['auth-token'] = @auth_token
    end
  end
end

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
smartystreets_ruby_sdk-5.11.1 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.11.0 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.10.0 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.9.2 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.9.1 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.9.0 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.8.0 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.7.1 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.7.0 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.6.2 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.6.1 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.6.0 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.5.4 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.5.3 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.5.2 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.5.1 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.5.0 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.4.0 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.3.3 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.3.2 lib/smartystreets_ruby_sdk/static_credentials.rb