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-0.8.13 lib/restful_resource/authorization.rb
restful_resource-0.8.12 lib/restful_resource/authorization.rb
restful_resource-0.8.11 lib/restful_resource/authorization.rb
restful_resource-0.8.10 lib/restful_resource/authorization.rb
restful_resource-0.8.9 lib/restful_resource/authorization.rb
restful_resource-0.8.8 lib/restful_resource/authorization.rb
restful_resource-0.8.7 lib/restful_resource/authorization.rb
restful_resource-0.8.6 lib/restful_resource/authorization.rb
restful_resource-0.8.5 lib/restful_resource/authorization.rb
restful_resource-0.8.4 lib/restful_resource/authorization.rb
restful_resource-0.8.3 lib/restful_resource/authorization.rb