Sha256: e59007cd59fdeb08694d728319a5b54ba7fc84702e4a3c58f3fd0b0061741086

Contents?: true

Size: 238 Bytes

Versions: 6

Compression:

Stored size: 238 Bytes

Contents

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

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
echelon-1.1.2 lib/echelon/ride.rb
echelon-1.1.1 lib/echelon/ride.rb
echelon-1.1.0 lib/echelon/ride.rb
echelon-1.0.6 lib/echelon/ride.rb
echelon-1.0.5 lib/echelon/ride.rb
echelon-1.0.4 lib/echelon/ride.rb