Class: SolidusMelhorEnvio::Api

Inherits:
Object
  • Object
show all
Defined in:
app/models/solidus_melhor_envio/api.rb

Direct Known Subclasses

ShippingEstimator

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = 
  verify_token
end

Instance Attribute Details

#accountObject (readonly)

Returns the value of attribute account.



4
5
6
# File 'app/models/solidus_melhor_envio/api.rb', line 4

def 
  @account
end