Sha256: ba37179d1464f4687be9ec93114709f3d31ec51771688d100e712f5a6a858acc

Contents?: true

Size: 172 Bytes

Versions: 9

Compression:

Stored size: 172 Bytes

Contents

# frozen_string_literal: true

class Restaurant
  include Arstotzka

  expose :dishes, path: 'restaurant.complete_meals'

  def initialize(hash)
    @hash = hash
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
arstotzka-1.6.2 spec/support/models/restaurant.rb
arstotzka-1.6.1 spec/support/models/restaurant.rb
arstotzka-1.6.0 spec/support/models/restaurant.rb
arstotzka-1.5.0 spec/support/models/restaurant.rb
arstotzka-1.4.4 spec/support/models/restaurant.rb
arstotzka-1.4.3 spec/support/models/restaurant.rb
arstotzka-1.4.2 spec/support/models/restaurant.rb
arstotzka-1.4.1 spec/support/models/restaurant.rb
arstotzka-1.4.0 spec/support/models/restaurant.rb