Sha256: 943f27e216789a52af1e6fc876ae1ecf4b3f01b0c105f1c87a770db179ad96d6

Contents?: true

Size: 246 Bytes

Versions: 16

Compression:

Stored size: 246 Bytes

Contents

# frozen_string_literal: true

class ShoppingMall
  include Arstotzka

  expose :customers, path: 'floors.stores',
                     flatten: true, json: :hash

  def initialize(hash)
    @hash = hash
  end

  private

  attr_reader :hash
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
arstotzka-1.6.2 spec/support/models/shopping_mall.rb
arstotzka-1.6.1 spec/support/models/shopping_mall.rb
arstotzka-1.6.0 spec/support/models/shopping_mall.rb
arstotzka-1.5.0 spec/support/models/shopping_mall.rb
arstotzka-1.4.4 spec/support/models/shopping_mall.rb
arstotzka-1.4.3 spec/support/models/shopping_mall.rb
arstotzka-1.4.2 spec/support/models/shopping_mall.rb
arstotzka-1.4.1 spec/support/models/shopping_mall.rb
arstotzka-1.4.0 spec/support/models/shopping_mall.rb
arstotzka-1.3.2 spec/support/models/shopping_mall.rb
arstotzka-1.3.1 spec/support/models/shopping_mall.rb
arstotzka-1.3.0 spec/support/models/shopping_mall.rb
arstotzka-1.2.4 spec/support/models/shopping_mall.rb
arstotzka-1.2.3 spec/support/models/shopping_mall.rb
arstotzka-1.2.2 spec/support/models/shopping_mall.rb
arstotzka-1.2.1 spec/support/models/shopping_mall.rb