Sha256: 98f63346da434811bdafc153890b843a0aabb270ad1b164e7a0cff22b1092e84

Contents?: true

Size: 322 Bytes

Versions: 15

Compression:

Stored size: 322 Bytes

Contents

# frozen_string_literal: true

module PriceHubble
  # The common PriceHubble location object.
  #
  # @see https://docs.pricehubble.com/#types-location
  class Location < BaseEntity
    # Associations
    with_options(initialize: true, persist: true) do
      has_one :address
      has_one :coordinates
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
pricehubble-1.3.0 lib/price_hubble/entity/location.rb
pricehubble-1.2.5 lib/price_hubble/entity/location.rb
pricehubble-1.2.4 lib/price_hubble/entity/location.rb
pricehubble-1.2.3 lib/price_hubble/entity/location.rb
pricehubble-1.2.2 lib/price_hubble/entity/location.rb
pricehubble-1.2.1 lib/price_hubble/entity/location.rb
pricehubble-1.2.0 lib/price_hubble/entity/location.rb
pricehubble-1.1.0 lib/pricehubble/entity/location.rb
pricehubble-1.0.0 lib/pricehubble/entity/location.rb
pricehubble-0.4.2 lib/pricehubble/entity/location.rb
pricehubble-0.4.1 lib/pricehubble/entity/location.rb
pricehubble-0.4.0 lib/pricehubble/entity/location.rb
pricehubble-0.3.0 lib/pricehubble/entity/location.rb
pricehubble-0.2.0 lib/pricehubble/entity/location.rb
pricehubble-0.1.0 lib/pricehubble/entity/location.rb