Sha256: 1eff36729fcfcea5879787ea1fd0cac5232d48799644448cea0b3326c8785e51

Contents?: true

Size: 364 Bytes

Versions: 29

Compression:

Stored size: 364 Bytes

Contents

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

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
spark_api-1.6.3 lib/spark_api/models/fields.rb
spark_api-1.6.2 lib/spark_api/models/fields.rb
spark_api-1.6.1 lib/spark_api/models/fields.rb
spark_api-1.5.7 lib/spark_api/models/fields.rb
spark_api-1.6.0 lib/spark_api/models/fields.rb
spark_api-1.5.6 lib/spark_api/models/fields.rb
spark_api-1.5.5 lib/spark_api/models/fields.rb
spark_api-1.5.4 lib/spark_api/models/fields.rb
spark_api-1.5.3 lib/spark_api/models/fields.rb
spark_api-1.5.2 lib/spark_api/models/fields.rb
spark_api-1.5.1 lib/spark_api/models/fields.rb
spark_api-1.5.0 lib/spark_api/models/fields.rb
spark_api-1.4.34 lib/spark_api/models/fields.rb
spark_api-1.4.32 lib/spark_api/models/fields.rb
spark_api-1.4.31 lib/spark_api/models/fields.rb
spark_api-1.4.29 lib/spark_api/models/fields.rb
spark_api-1.4.28 lib/spark_api/models/fields.rb
spark_api-1.4.27 lib/spark_api/models/fields.rb
spark_api-1.4.26 lib/spark_api/models/fields.rb
spark_api-1.4.25 lib/spark_api/models/fields.rb