Class: SolidusMelhorEnvio::Api
- Inherits:
-
Object
- Object
- SolidusMelhorEnvio::Api
- Defined in:
- app/models/solidus_melhor_envio/api.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#account ⇒ Object
readonly
Returns the value of attribute account.
Instance Method Summary collapse
-
#initialize(account) ⇒ Api
constructor
A new instance of Api.
Constructor Details
#initialize(account) ⇒ Api
Returns a new instance of Api.
5 6 7 8 |
# File 'app/models/solidus_melhor_envio/api.rb', line 5 def initialize account @account = account verify_token end |
Instance Attribute Details
#account ⇒ Object (readonly)
Returns the value of attribute account.
4 5 6 |
# File 'app/models/solidus_melhor_envio/api.rb', line 4 def account @account end |