Class: MAuth::Faraday::MAuthClientUserAgent
- Inherits:
-
Object
- Object
- MAuth::Faraday::MAuthClientUserAgent
- Defined in:
- lib/mauth/faraday.rb
Overview
add MAuth-Client’s user-agent to a request
Instance Method Summary collapse
- #call(request_env) ⇒ Object
-
#initialize(app, agent_base = 'Mauth-Client') ⇒ MAuthClientUserAgent
constructor
A new instance of MAuthClientUserAgent.
Constructor Details
#initialize(app, agent_base = 'Mauth-Client') ⇒ MAuthClientUserAgent
Returns a new instance of MAuthClientUserAgent.
93 94 95 96 |
# File 'lib/mauth/faraday.rb', line 93 def initialize(app, agent_base = 'Mauth-Client') @app = app @agent_base = agent_base end |