class ShopifyAPI::LineItem::Property
Public Class Methods
new(*args)
click to toggle source
Calls superclass method
# File lib/shopify_api/resources/line_item.rb, line 5 def initialize(*args) self.attributes = args[0] || {} self.persisted = args[1] || false super rescue NameError self.attributes = attributes.to_hash self end