Sha256: 5edb4593ce1b9543b9fd5e1d165ad1eb9bc991d3378f019da4db593d1a8ac465

Contents?: true

Size: 174 Bytes

Versions: 1

Compression:

Stored size: 174 Bytes

Contents

# frozen_string_literal: true

class Product
  attr_accessor :title, :id

  def initialize(attrs = {})
    attrs.each_pair do |k, v|
      send("#{k}=", v)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
grape-roar-0.4.1 spec/support/all/product.rb