Sha256: d1b145bbe6e79c025704995b49ce6bc3a595520a4585f32afa3cea9601275744

Contents?: true

Size: 581 Bytes

Versions: 7

Compression:

Stored size: 581 Bytes

Contents

# frozen_string_literal: true

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

7 entries across 7 versions & 1 rubygems

Version Path
gecko-ruby-0.12.3 lib/gecko/record/location.rb
gecko-ruby-0.12.2 lib/gecko/record/location.rb
gecko-ruby-0.12.1 lib/gecko/record/location.rb
gecko-ruby-0.12.0 lib/gecko/record/location.rb
gecko-ruby-0.11.1 lib/gecko/record/location.rb
gecko-ruby-0.11.0 lib/gecko/record/location.rb
gecko-ruby-0.10.0 lib/gecko/record/location.rb