Sha256: 22a37305242f4126c150bd37c32220f794c53c26b602275ffc4c6c82397fd4b6

Contents?: true

Size: 551 Bytes

Versions: 8

Compression:

Stored size: 551 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

8 entries across 8 versions & 1 rubygems

Version Path
gecko-ruby-0.1.0 lib/gecko/record/location.rb
gecko-ruby-0.0.10 lib/gecko/record/location.rb
gecko-ruby-0.0.9 lib/gecko/record/location.rb
gecko-ruby-0.0.8 lib/gecko/record/location.rb
gecko-ruby-0.0.7 lib/gecko/record/location.rb
gecko-ruby-0.0.6 lib/gecko/record/location.rb
gecko-ruby-0.0.5 lib/gecko/record/location.rb
gecko-ruby-0.0.4 lib/gecko/record/location.rb