Class: SelfPay::ConnectClient

Inherits:
Client
  • Object
show all
Defined in:
lib/SelfPay/connect_client.rb

Instance Attribute Summary

Attributes inherited from Client

#auth, #env, #uri

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

#hostObject



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