Sha256: 4e65091eb7cf4658a6b89175f38768ec650e9692039f0fb5e106f201af0384b3

Contents?: true

Size: 434 Bytes

Versions: 28

Compression:

Stored size: 434 Bytes

Contents

require 'httparty'
require 'roqua/core_api/sessions/auth_session'
require 'roqua/core_api/sessions/oauth_session'
require 'roqua/core_api/sessions/basic_auth_session'

module Roqua
  module CoreApi
    def self.oauth_session(*arguments, &block)
      Sessions::OAuthSession.new(*arguments, &block)
    end

    def self.basic_auth_session(*arguments, &block)
      Sessions::BasicAuthSession.new(*arguments, &block)
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
roqua-core-api-0.0.17 lib/roqua/core_api/sessions.rb
roqua-core-api-0.0.16 lib/roqua/core_api/sessions.rb
roqua-core-api-0.0.15 lib/roqua/core_api/sessions.rb
roqua-core-api-0.0.14 lib/roqua/core_api/sessions.rb
roqua-core-api-0.0.13 lib/roqua/core_api/sessions.rb
roqua-core-api-0.0.12 lib/roqua/core_api/sessions.rb
roqua-core-api-0.0.11 lib/roqua/core_api/sessions.rb
roqua-core-api-0.0.10 lib/roqua/core_api/sessions.rb