class Opera::MobileStoreSDK::FaradayMiddleware::RequiredResponseFormat
Adds the required response format to the request parameters, in order for the SDK to work:
Public Instance Methods
call(env)
click to toggle source
# File lib/opera/mobile_store_sdk/faraday_middleware/required_response_format.rb, line 7 def call(env) env.url.query = ["format=xml", env.url.query].join('&') @app.call(env) end