Module: MaxipagoApi
- Defined in:
- lib/maxipago_api.rb,
lib/maxipago_api/version.rb,
lib/maxipago_api/models/customer_model.rb,
lib/maxipago_api/responses/response_api.rb,
lib/maxipago_api/models/credit_card_model.rb,
lib/maxipago_api/models/transaction_model.rb,
lib/maxipago_api/requests/customer_request.rb,
lib/maxipago_api/requests/credit_card_request.rb,
lib/maxipago_api/requests/transaction_request.rb
Defined Under Namespace
Classes: CreditCardModel, CreditCardRequest, CustomerModel, CustomerRequest, Error, ResponseApi, TransactionModel, TransactionRequest
Constant Summary collapse
- VERSION =
"0.1.6"
Class Attribute Summary collapse
-
.api_register_endpoint ⇒ Object
Returns the value of attribute api_register_endpoint.
-
.api_reports_endpoint ⇒ Object
Returns the value of attribute api_reports_endpoint.
-
.api_transaction_endpoint ⇒ Object
Returns the value of attribute api_transaction_endpoint.
-
.store_id ⇒ Object
Returns the value of attribute store_id.
-
.store_key ⇒ Object
Returns the value of attribute store_key.
Class Method Summary collapse
Class Attribute Details
.api_register_endpoint ⇒ Object
Returns the value of attribute api_register_endpoint.
10 11 12 |
# File 'lib/maxipago_api.rb', line 10 def api_register_endpoint @api_register_endpoint end |
.api_reports_endpoint ⇒ Object
Returns the value of attribute api_reports_endpoint.
10 11 12 |
# File 'lib/maxipago_api.rb', line 10 def api_reports_endpoint @api_reports_endpoint end |
.api_transaction_endpoint ⇒ Object
Returns the value of attribute api_transaction_endpoint.
10 11 12 |
# File 'lib/maxipago_api.rb', line 10 def api_transaction_endpoint @api_transaction_endpoint end |
.store_id ⇒ Object
Returns the value of attribute store_id.
10 11 12 |
# File 'lib/maxipago_api.rb', line 10 def store_id @store_id end |
.store_key ⇒ Object
Returns the value of attribute store_key.
10 11 12 |
# File 'lib/maxipago_api.rb', line 10 def store_key @store_key end |
Class Method Details
.production? ⇒ Boolean
18 19 20 21 22 23 |
# File 'lib/maxipago_api.rb', line 18 def self.production? ENV['RACK_ENV'] == 'production' || ENV['RAILS_ENV'] == 'production' || ENV['PRODUCTION'] || ENV['production'] end |