Module: DlocalGo
- Defined in:
- lib/dlocal_go.rb,
lib/dlocal_go/client.rb,
lib/dlocal_go/errors.rb,
lib/dlocal_go/version.rb,
lib/dlocal_go/constants.rb,
lib/dlocal_go/utilities.rb,
lib/dlocal_go/responses/base.rb,
lib/dlocal_go/responses/array.rb,
lib/dlocal_go/responses/refund.rb,
lib/dlocal_go/responses/payment.rb,
lib/dlocal_go/endpoint_generator.rb,
lib/dlocal_go/responses/subscription.rb,
lib/dlocal_go/responses/response_parser.rb,
lib/dlocal_go/responses/recurring_payment.rb,
lib/dlocal_go/responses/subscription_plan.rb,
lib/dlocal_go/responses/subscription_execution.rb
Overview
Main module for Dlocal Go, it provides a way to configure the gem and imports the client
Defined Under Namespace
Modules: Constants, EndpointGenerator, Responses Classes: Client, Error, Utilities
Constant Summary collapse
- VERSION =
"1.0"
Class Attribute Summary collapse
-
.api_key ⇒ Object
Returns the value of attribute api_key.
-
.api_secret ⇒ Object
Returns the value of attribute api_secret.
-
.environment ⇒ Object
Returns the value of attribute environment.
-
.supported_countries ⇒ Object
Returns the value of attribute supported_countries.
Class Method Summary collapse
Class Attribute Details
.api_key ⇒ Object
Returns the value of attribute api_key.
24 25 26 |
# File 'lib/dlocal_go.rb', line 24 def api_key @api_key end |
.api_secret ⇒ Object
Returns the value of attribute api_secret.
24 25 26 |
# File 'lib/dlocal_go.rb', line 24 def api_secret @api_secret end |
.environment ⇒ Object
Returns the value of attribute environment.
24 25 26 |
# File 'lib/dlocal_go.rb', line 24 def environment @environment end |
.supported_countries ⇒ Object
Returns the value of attribute supported_countries.
24 25 26 |
# File 'lib/dlocal_go.rb', line 24 def supported_countries @supported_countries end |
Class Method Details
.clear_setup ⇒ Object
16 17 18 19 20 21 |
# File 'lib/dlocal_go.rb', line 16 def self.clear_setup self.api_key = nil self.api_secret = nil self.environment = nil self.supported_countries = nil end |
.setup {|_self| ... } ⇒ Object
12 13 14 |
# File 'lib/dlocal_go.rb', line 12 def self.setup yield self end |