Class: Boletoman::Services::Santander::Query::Facade
- Inherits:
-
Object
- Object
- Boletoman::Services::Santander::Query::Facade
- Defined in:
- lib/boletoman/services/santander/query/facade.rb
Instance Attribute Summary collapse
-
#nsu ⇒ Object
readonly
Returns the value of attribute nsu.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(nsu) ⇒ Facade
constructor
A new instance of Facade.
Constructor Details
#initialize(nsu) ⇒ Facade
Returns a new instance of Facade.
11 12 13 |
# File 'lib/boletoman/services/santander/query/facade.rb', line 11 def initialize(nsu) @nsu = nsu end |
Instance Attribute Details
#nsu ⇒ Object (readonly)
Returns the value of attribute nsu.
9 10 11 |
# File 'lib/boletoman/services/santander/query/facade.rb', line 9 def nsu @nsu end |
Instance Method Details
#call ⇒ Object
15 16 17 |
# File 'lib/boletoman/services/santander/query/facade.rb', line 15 def call { barcode: query_response., line: query_response.line } end |