Class: Ns::Disruption

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
lib/ns/disruption.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Model

#initialize

Instance Attribute Details

#adviceObject

Returns the value of attribute advice.



5
6
7
# File 'lib/ns/disruption.rb', line 5

def advice
  @advice
end

#messageObject

Returns the value of attribute message.



5
6
7
# File 'lib/ns/disruption.rb', line 5

def message
  @message
end

#periodObject

Returns the value of attribute period.



5
6
7
# File 'lib/ns/disruption.rb', line 5

def period
  @period
end

#reasonObject

Returns the value of attribute reason.



5
6
7
# File 'lib/ns/disruption.rb', line 5

def reason
  @reason
end

#routeObject

Returns the value of attribute route.



5
6
7
# File 'lib/ns/disruption.rb', line 5

def route
  @route
end