Class: Inthegra::BaseModel

Inherits:
Object
  • Object
show all
Defined in:
lib/inthegra/model/base.rb

Direct Known Subclasses

AuthToken, BusStop, Line, Vehicle

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ BaseModel

Returns a new instance of BaseModel.



4
5
6
# File 'lib/inthegra/model/base.rb', line 4

def initialize(data)
  fill(data)
end