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.20.6 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.20.4 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.20.3 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.20.2 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.19.0 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.18.1 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.18.0 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.17.2 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.17.1 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.17.0 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.16.2 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.16.1 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.16.0 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.15.4 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.15.3 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.15.2 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.15.1 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.15.0 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.14.22 lib/smartystreets_ruby_sdk/static_credentials.rb
smartystreets_ruby_sdk-5.14.19 lib/smartystreets_ruby_sdk/static_credentials.rb