Sha256: c6f63594678e6b437fe67d263d840beafabd8c7f45d79fb62e0e8f61b94163d0

Contents?: true

Size: 237 Bytes

Versions: 20

Compression:

Stored size: 237 Bytes

Contents

module Vertebrae
  class Model
    attr_accessor :client

    def initialize(attrs = {})
      attrs.each do |key,value|
        if self.respond_to?("#{key}=")
          self.send("#{key}=", value)
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
vertebrae-0.6.0 lib/model.rb
vertebrae-0.5.1 lib/model.rb
vertebrae-0.5.0 lib/model.rb
vertebrae-0.4.3 lib/model.rb
vertebrae-0.4.2 lib/model.rb
vertebrae-0.4.1 lib/model.rb
vertebrae-0.4.0 lib/model.rb
vertebrae-0.3.1 lib/model.rb
vertebrae-0.3.0 lib/model.rb
vertebrae-0.2.11 lib/model.rb
vertebrae-0.2.10 lib/model.rb
vertebrae-0.2.9 lib/model.rb
vertebrae-0.2.8 lib/model.rb
vertebrae-0.2.7 lib/model.rb
vertebrae-0.2.6 lib/model.rb
vertebrae-0.2.5 lib/model.rb
vertebrae-0.2.4 lib/model.rb
vertebrae-0.2.2 lib/model.rb
vertebrae-0.2.1 lib/model.rb
vertebrae-0.2.0 lib/model.rb