Class: MercadoPago::Base
- Inherits:
-
Object
- Object
- MercadoPago::Base
- Defined in:
- lib/mercadopago/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#access_token ⇒ Object
readonly
Returns the value of attribute access_token.
Instance Method Summary collapse
-
#initialize(access_token: '', sandbox: true) ⇒ Base
constructor
A new instance of Base.
- #service_url ⇒ Object
Constructor Details
#initialize(access_token: '', sandbox: true) ⇒ Base
Returns a new instance of Base.
12 13 14 15 |
# File 'lib/mercadopago/base.rb', line 12 def initialize(access_token: '', sandbox: true) @access_token = access_token @sandbox = sandbox end |
Instance Attribute Details
#access_token ⇒ Object (readonly)
Returns the value of attribute access_token.
10 11 12 |
# File 'lib/mercadopago/base.rb', line 10 def access_token @access_token end |
Instance Method Details
#service_url ⇒ Object
17 18 19 |
# File 'lib/mercadopago/base.rb', line 17 def service_url raise NotImplementedError end |