Class: Tray::Checkout::Account
- Inherits:
-
BaseService
- Object
- BaseService
- Tray::Checkout::Account
- Defined in:
- lib/tray/checkout/account.rb
Instance Method Summary collapse
Instance Method Details
#api_url ⇒ Object
5 6 7 |
# File 'lib/tray/checkout/account.rb', line 5 def api_url "#{Tray::Checkout.api_url}/api/people/" end |
#get_by_token(token) ⇒ Object
9 10 11 |
# File 'lib/tray/checkout/account.rb', line 9 def get_by_token(token) request("get_seller_or_company", { token_account: token || Tray::Checkout::token_account }) end |