Sha256: 56d0648ffac54098c3453af31391feb78fe3d925d04217848d09e36649161269

Contents?: true

Size: 490 Bytes

Versions: 3

Compression:

Stored size: 490 Bytes

Contents

require 'net/http'
Net::HTTP.version_1_2
module Monkeyshines
  module Fetcher

    #
    class AuthedHttpFetcher
      cattr_accessor :auth_params

      def get_request_token
      end

      def authorize
      end

      def get_access_token
      end

      def api_key
      end
      def api_secret
      end
      def session_key
      end
      
      # authenticate request
      def authenticate req
        get_session_key unless session_key
      end

      
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
monkeyshines-0.2.1 lib/monkeyshines/fetcher/authed_http_fetcher.rb
monkeyshines-0.2.0 lib/monkeyshines/fetcher/authed_http_fetcher.rb
monkeyshines-0.0.2 lib/monkeyshines/fetcher/authed_http_fetcher.rb