Sha256: e37f8a6107b4d22f416aaf6a25af0e33dc425134988fe7258b9b76540fa518a7

Contents?: true

Size: 550 Bytes

Versions: 13

Compression:

Stored size: 550 Bytes

Contents

require 'gecko/record/base'

module Gecko
  module Record
    class Location < Base
      attribute :address1,     String
      attribute :address2,     String
      attribute :suburb,       String
      attribute :city,         String
      attribute :country,      String
      attribute :label,        String
      attribute :state,        String
      attribute :zip_code,     String
      attribute :holds_stock,  Boolean

      attribute :status,       String,  readonly: true
    end

    class LocationAdapter < BaseAdapter
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
gecko-ruby-0.9.1 lib/gecko/record/location.rb
gecko-ruby-0.9.0 lib/gecko/record/location.rb
gecko-ruby-0.8.0 lib/gecko/record/location.rb
gecko-ruby-0.2.6 lib/gecko/record/location.rb
gecko-ruby-0.7.1 lib/gecko/record/location.rb
gecko-ruby-0.7.0 lib/gecko/record/location.rb
gecko-ruby-0.6.0 lib/gecko/record/location.rb
gecko-ruby-0.5.0 lib/gecko/record/location.rb
gecko-ruby-0.2.5 lib/gecko/record/location.rb
gecko-ruby-0.2.4 lib/gecko/record/location.rb
gecko-ruby-0.2.3 lib/gecko/record/location.rb
gecko-ruby-0.2.2 lib/gecko/record/location.rb
gecko-ruby-0.2.0 lib/gecko/record/location.rb