Class: Moneta::Front::Service
- Inherits:
-
Object
- Object
- Moneta::Front::Service
- Includes:
- ServiceMethods
- Defined in:
- lib/moneta/front/service.rb
Constant Summary collapse
- DEMO =
Moneta::Constants::Settings::DEMO
- PRODUCTION =
Moneta::Constants::Settings::PRODUCTION
- PATH =
Moneta::Constants::Settings::CERTIFICATE_PATH
Instance Method Summary collapse
-
#initialize(certificate, key, params = {}) ⇒ Service
constructor
A new instance of Service.
- #request(url) ⇒ Object
Methods included from ServiceMethods
Constructor Details
Instance Method Details
#request(url) ⇒ Object
18 19 20 |
# File 'lib/moneta/front/service.rb', line 18 def request(url) @connection.get(url) end |