Class: Ns::Api::Request::DisruptionCollection

Inherits:
Base
  • Object
show all
Includes:
Model
Defined in:
lib/ns/api/request/disruption_collection.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#response

Class Method Summary collapse

Methods included from Model

#initialize

Methods inherited from Base

#initialize

Instance Attribute Details

#disruption_collectionObject

Returns the value of attribute disruption_collection.



7
8
9
# File 'lib/ns/api/request/disruption_collection.rb', line 7

def disruption_collection
  @disruption_collection
end

Class Method Details

.base_uriObject



9
10
11
# File 'lib/ns/api/request/disruption_collection.rb', line 9

def self.base_uri
  'http://webservices.ns.nl/ns-api-storingen'
end

.response_classObject



13
14
15
# File 'lib/ns/api/request/disruption_collection.rb', line 13

def self.response_class
  Ns::Api::Response::DisruptionCollection
end