Class: Ipiranga::PF
Instance Attribute Summary
Attributes inherited from Client
#password, #soap, #username, #wsdl
Instance Method Summary collapse
Methods inherited from Client
#has_credentials?, #initialize, #operation, #operations, #post
Constructor Details
This class inherits a constructor from Ipiranga::Client
Instance Method Details
#wsdl_url ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/ipiranga/clients.rb', line 5 def wsdl_url if defined?(RAILS_ENV) && RAILS_ENV == "production" "https://b2b.ipiranga.com.br/csp/ensb2cws/cbpi.bs.participantePF.Service.CLS?WSDL=1" else "https://b2bdv.ipiranga.com.br/csp/ensb2cws/cbpi.bs.participantePF.Service.CLS?WSDL=1" end end |