Module: DlocalGo::EndpointGenerator

Includes:
Constants
Included in:
Client
Defined in:
lib/dlocal_go/endpoint_generator.rb

Overview

Module that allows us to define endpoints in the DlocalGo::Client class just by calling the endpoint method

Defined Under Namespace

Modules: ClassMethods

Constant Summary

Constants included from Constants

Constants::CURRENCY_FOR_COUNTRY, Constants::DEFAULT_SUPPORTED_COUNTRIES, Constants::PRODUCTION_URL, Constants::SANDBOX_URL, Constants::SUBSCRIPTION_BASE_PRODUCTION_URL, Constants::SUBSCRIPTION_BASE_SANDBOX_URL

Class Method Summary collapse

Methods included from Constants

#currency_for_country

Class Method Details

.included(base) ⇒ Object



13
14
15
# File 'lib/dlocal_go/endpoint_generator.rb', line 13

def self.included(base)
  base.extend(ClassMethods)
end