module HTTPX::Plugins::OAuth::OptionsMethods

  1. lib/httpx/plugins/oauth.rb

Methods

Public Instance

  1. option_oauth_session

Public Instance methods

option_oauth_session(value)
[show source]
    # File lib/httpx/plugins/oauth.rb
101 def option_oauth_session(value)
102   case value
103   when Hash
104     OAuthSession.new(**value)
105   when OAuthSession
106     value
107   else
108     raise TypeError, ":oauth_session must be a #{OAuthSession}"
109   end
110 end