Class: Ns::Api::Request::TravelAdvice
- Includes:
- Model
- Defined in:
- lib/ns/api/request/travel_advice.rb
Instance Attribute Summary collapse
-
#trip ⇒ Object
Returns the value of attribute trip.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Model
Methods inherited from Base
Instance Attribute Details
#trip ⇒ Object
Returns the value of attribute trip.
7 8 9 |
# File 'lib/ns/api/request/travel_advice.rb', line 7 def trip @trip end |
Class Method Details
.base_uri ⇒ Object
9 10 11 |
# File 'lib/ns/api/request/travel_advice.rb', line 9 def self.base_uri 'http://webservices.ns.nl/ns-api-treinplanner' end |
.response_class ⇒ Object
13 14 15 |
# File 'lib/ns/api/request/travel_advice.rb', line 13 def self.response_class Ns::Api::Response::TravelAdvice end |