Sha256: e7808d5e70a45eac3769092371df501b6095815cf6113d8579d35b1e300e0195

Contents?: true

Size: 271 Bytes

Versions: 10

Compression:

Stored size: 271 Bytes

Contents

module Rosemary
  class BasicAuthClient

    attr_reader :username, :password

    def initialize(username, password)
      @username = username
      @password = password
    end

    def credentials
      {:username => username, :password => password}
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rosemary-0.3.2 lib/rosemary/basic_auth_client.rb
rosemary-0.3.1 lib/rosemary/basic_auth_client.rb
rosemary-0.3.0 lib/rosemary/basic_auth_client.rb
rosemary-0.2.8 lib/rosemary/basic_auth_client.rb
rosemary-0.2.7 lib/rosemary/basic_auth_client.rb
rosemary-0.2.6 lib/rosemary/basic_auth_client.rb
rosemary-0.2.5 lib/rosemary/basic_auth_client.rb
rosemary-0.2.4 lib/rosemary/basic_auth_client.rb
rosemary-0.2.3 lib/rosemary/basic_auth_client.rb
rosemary-0.2.2 lib/rosemary/basic_auth_client.rb