module SparkApi module Models class Fields < Base self.element_name="fields" def self.order(property_type=nil, arguments={}) connection.get("#{self.path}/order#{"/"+property_type unless property_type.nil?}", arguments) end def self.settings connection.get("#{self.path}/order/settings") end end end end