Class: TokyoMetro::Api::TrainOperation::Info::BasicError

Inherits:
Object
  • Object
show all
Defined in:
lib/tokyo_metro/api/train_operation/info/basic_error.rb

Direct Known Subclasses

JsonParserError, NetworkError

Instance Method Summary collapse

Instance Method Details

#decorate(request, railway_line, max_delay, controller, no_train) ⇒ Object



3
4
5
# File 'lib/tokyo_metro/api/train_operation/info/basic_error.rb', line 3

def decorate( request , railway_line , max_delay , controller , no_train )
  decorator_class.new( request , self , railway_line , controller )
end