Sha256: 399ab1e4f149627055b125208dee8f8a8e1890f0bfaf8ecd68d1f7bd3dacfd1a

Contents?: true

Size: 174 Bytes

Versions: 91

Compression:

Stored size: 174 Bytes

Contents

module RestfulResource
  class Authorization
    def self.http_authorization(user, password)
      'Basic ' + Base64.strict_encode64("#{user}:#{password}")
    end
  end
end

Version data entries

91 entries across 91 versions & 1 rubygems

Version Path
restful_resource-1.4.3 lib/restful_resource/authorization.rb
restful_resource-1.4.2 lib/restful_resource/authorization.rb
restful_resource-1.4.1 lib/restful_resource/authorization.rb
restful_resource-1.4.0 lib/restful_resource/authorization.rb
restful_resource-1.3.0 lib/restful_resource/authorization.rb
restful_resource-1.2.2 lib/restful_resource/authorization.rb
restful_resource-1.2.1 lib/restful_resource/authorization.rb
restful_resource-1.2.0 lib/restful_resource/authorization.rb
restful_resource-1.1.0 lib/restful_resource/authorization.rb
restful_resource-1.0.0 lib/restful_resource/authorization.rb
restful_resource-0.10.2 lib/restful_resource/authorization.rb
restful_resource-0.10.1 lib/restful_resource/authorization.rb
restful_resource-0.10.0 lib/restful_resource/authorization.rb
restful_resource-0.9.7 lib/restful_resource/authorization.rb
restful_resource-0.9.5 lib/restful_resource/authorization.rb
restful_resource-0.9.4 lib/restful_resource/authorization.rb
restful_resource-0.9.3 lib/restful_resource/authorization.rb
restful_resource-0.9.2 lib/restful_resource/authorization.rb
restful_resource-0.9.1 lib/restful_resource/authorization.rb
restful_resource-0.9.0 lib/restful_resource/authorization.rb