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