Class: Boletoman::Services::Santander::BillingResponse
Instance Attribute Summary
#raw_response, #requester
Instance Method Summary
collapse
#body, #initialize
Instance Method Details
#barcode ⇒ Object
11
12
13
|
# File 'lib/boletoman/services/santander/billing_response.rb', line 11
def barcode
body.dig(:return, :titulo, :cd_barra)
end
|
#line ⇒ Object
15
16
17
|
# File 'lib/boletoman/services/santander/billing_response.rb', line 15
def line
body.dig(:return, :titulo, :lin_dig)
end
|
#nosso_numero ⇒ Object
19
20
21
|
# File 'lib/boletoman/services/santander/billing_response.rb', line 19
def nosso_numero
body.dig(:return, :titulo, :nosso_numero)
end
|
#success? ⇒ Boolean
7
8
9
|
# File 'lib/boletoman/services/santander/billing_response.rb', line 7
def success?
barcode.present?
end
|