Class: SelfPay::ConnectClient
- Defined in:
- lib/SelfPay/connect_client.rb
Instance Attribute Summary
Attributes inherited from Client
Instance Method Summary collapse
Methods inherited from Client
#delete, #get, #initialize, #opts, #post, #production?, #put, #sandbox?
Constructor Details
This class inherits a constructor from SelfPay::Client
Instance Method Details
#host ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/SelfPay/connect_client.rb', line 3 def host if production? "cliente.hysoft.com.br/Services/Ecommerce/v2" else "cliente.hysoft.com.br/Sandbox/Ecommerce/v2" end end |