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-2.18.1 lib/restful_resource/authorization.rb
restful_resource-2.18.0 lib/restful_resource/authorization.rb
restful_resource-2.17.0 lib/restful_resource/authorization.rb
restful_resource-2.16.0 lib/restful_resource/authorization.rb
restful_resource-2.15.0 lib/restful_resource/authorization.rb
restful_resource-2.14.0 lib/restful_resource/authorization.rb
restful_resource-2.13.4 lib/restful_resource/authorization.rb
restful_resource-2.13.3 lib/restful_resource/authorization.rb
restful_resource-2.13.2 lib/restful_resource/authorization.rb
restful_resource-2.13.1 lib/restful_resource/authorization.rb
restful_resource-2.13.0 lib/restful_resource/authorization.rb
restful_resource-2.12.1 lib/restful_resource/authorization.rb
restful_resource-2.12.0 lib/restful_resource/authorization.rb
restful_resource-2.11.0 lib/restful_resource/authorization.rb
restful_resource-2.10.3 lib/restful_resource/authorization.rb
restful_resource-2.10.1 lib/restful_resource/authorization.rb
restful_resource-2.10.0 lib/restful_resource/authorization.rb
restful_resource-2.9.1 lib/restful_resource/authorization.rb
restful_resource-2.8.0 lib/restful_resource/authorization.rb
restful_resource-2.7.0 lib/restful_resource/authorization.rb