Sha256: 4cc0a7b41711fb9a3d1368c4e6490b63bacd0ce91cef6a73fa9b89bea1ed20e9
Contents?: true
Size: 331 Bytes
Versions: 9
Compression:
Stored size: 331 Bytes
Contents
# frozen_string_literal: true module ShopifyAPI class LineItem < Base class Property < Base def initialize(*args) self.attributes = args[0] || {} self.persisted = args[1] || false super rescue NameError self.attributes = attributes.to_hash self end end end end
Version data entries
9 entries across 9 versions & 2 rubygems