Class: NSClient::PricesResponse
- Inherits:
-
Object
- Object
- NSClient::PricesResponse
- Defined in:
- lib/ns_client.rb
Instance Attribute Summary collapse
-
#products ⇒ Object
Returns the value of attribute products.
-
#tariff_units ⇒ Object
Returns the value of attribute tariff_units.
Instance Method Summary collapse
- #dagretour ⇒ Object
- #enkele_reis ⇒ Object
-
#initialize ⇒ PricesResponse
constructor
A new instance of PricesResponse.
Constructor Details
#initialize ⇒ PricesResponse
Returns a new instance of PricesResponse.
194 195 196 197 |
# File 'lib/ns_client.rb', line 194 def initialize @products = {} @tariff_units = 0 end |
Instance Attribute Details
#products ⇒ Object
Returns the value of attribute products.
192 193 194 |
# File 'lib/ns_client.rb', line 192 def products @products end |
#tariff_units ⇒ Object
Returns the value of attribute tariff_units.
192 193 194 |
# File 'lib/ns_client.rb', line 192 def tariff_units @tariff_units end |
Instance Method Details
#dagretour ⇒ Object
203 204 205 |
# File 'lib/ns_client.rb', line 203 def dagretour products["Retour"] end |
#enkele_reis ⇒ Object
199 200 201 |
# File 'lib/ns_client.rb', line 199 def enkele_reis products["Enkele reis"] end |