Class: Boletoman::Services::Santander::Ticket

Inherits:
Request show all
Defined in:
lib/boletoman/services/santander/ticket.rb

Direct Known Subclasses

Boleto::Ticket, Query::Ticket

Constant Summary collapse

BANK_CODE =
'0033'.freeze

Instance Method Summary collapse

Methods inherited from Request

#extra_config_options

Methods inherited from Boletoman::Services::Soap::Request

#basic_config, #call, #client, #config_options, #extra_config_options, #message, #response

Instance Method Details

#operationObject



18
19
20
# File 'lib/boletoman/services/santander/ticket.rb', line 18

def operation
  :create
end

#requires_certificate?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/boletoman/services/santander/ticket.rb', line 14

def requires_certificate?
  false
end

#response_classObject



22
23
24
# File 'lib/boletoman/services/santander/ticket.rb', line 22

def response_class
  ::Boletoman::Services::Santander::TicketResponse
end

#wsdlObject



10
11
12
# File 'lib/boletoman/services/santander/ticket.rb', line 10

def wsdl
  ::Boletoman.configuration.santander.configuration.ticket_wsdl_url
end