Class: Boletoman::SantanderConfiguration

Inherits:
Object
  • Object
show all
Defined in:
lib/boletoman/santander_config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSantanderConfiguration

Returns a new instance of SantanderConfiguration.



6
7
8
9
# File 'lib/boletoman/santander_config.rb', line 6

def initialize()
  @ticket_wsdl_url = 'https://ymbdlb.santander.com.br/dl-ticket-services/TicketEndpointService/TicketEndpointService.wsdl'
  @use_certificate = true
end

Instance Attribute Details

#certificateObject

Returns the value of attribute certificate.



3
4
5
# File 'lib/boletoman/santander_config.rb', line 3

def certificate
  @certificate
end

#certificate_keyObject

Returns the value of attribute certificate_key.



3
4
5
# File 'lib/boletoman/santander_config.rb', line 3

def certificate_key
  @certificate_key
end

#covenantObject

Returns the value of attribute covenant.



3
4
5
# File 'lib/boletoman/santander_config.rb', line 3

def covenant
  @covenant
end

#stationObject

Returns the value of attribute station.



3
4
5
# File 'lib/boletoman/santander_config.rb', line 3

def station
  @station
end

#ticket_wsdl_urlObject

Returns the value of attribute ticket_wsdl_url.



3
4
5
# File 'lib/boletoman/santander_config.rb', line 3

def ticket_wsdl_url
  @ticket_wsdl_url
end

#use_certificateObject

Returns the value of attribute use_certificate.



3
4
5
# File 'lib/boletoman/santander_config.rb', line 3

def use_certificate
  @use_certificate
end