Sha256: 45eeaa03a11b30532d563f79e51fb1021b967e0b3cf726430a44ba2ddbf9e4b6

Contents?: true

Size: 230 Bytes

Versions: 5

Compression:

Stored size: 230 Bytes

Contents

module Echelon
  class Ride
    attr_reader :name, :queue_time, :active, :updated_at

    def initialize(*params)
      params.each do |key|
        key.each { |k, v| instance_variable_set("@#{k}", v) }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
echelon-1.0.2 lib/echelon/ride.rb
echelon-1.0.1 lib/echelon/ride.rb
echelon-1.0.0 lib/echelon/ride.rb
echelon-0.0.5 lib/echelon/ride.rb
echelon-0.0.4 lib/echelon/ride.rb