Sha256: ce5c50466190d78efd63ddbf8577e929914bbde3832f360b7600175d98714803

Contents?: true

Size: 184 Bytes

Versions: 2

Compression:

Stored size: 184 Bytes

Contents

class Address
  include Dynamoid::Document
  
  field :city
  field :options, :serialized
  field :deliverable, :boolean

  def zip_code=(zip_code)
    self.city = "Chicago"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dynamoid-0.6.1 spec/app/models/address.rb
dynamoid-0.6.0 spec/app/models/address.rb