Class: JMA::Client
Constant Summary
Constants included from Configurable
JMA::Configurable::API_BASE_URL, JMA::Configurable::ENDPOINTS, JMA::Configurable::FEED_BASE_URL, JMA::Configurable::FEED_ENDPOINTS, JMA::Configurable::RESPONSE_TYPE_RAW, JMA::Configurable::TEMPORARY, JMA::Configurable::USER_AGENT, JMA::Configurable::WARNING_INFORMATION
Instance Attribute Summary
Attributes included from Configurable
#cache, #logger, #response_type, #temporary_directory
Instance Method Summary collapse
-
#request_xml(url) ⇒ Faraday::Response
The root path that Faraday is being loaded from.
Methods included from Configurable
#connection_options, #user_agent
Instance Method Details
#request_xml(url) ⇒ Faraday::Response
The root path that Faraday is being loaded from.
This is the root from where the libraries are auto-loaded.
32 33 34 35 36 |
# File 'lib/jma/client.rb', line 32 def request_xml(url) connection = build_connection url connection.headers = [:headers] connection.get url end |