Sha256: 7236f85bc139e4fceb930360b5f5c24bedbcc2c9835e382df65bd5c2a3ac2fe1

Contents?: true

Size: 397 Bytes

Versions: 4

Compression:

Stored size: 397 Bytes

Contents

module SparkApi
  module Models
    class IdxLink < Base

      extend Finders
      
      self.element_name = "idxlinks"
      
      LINK_TYPES = ["QuickSearch", "SavedSearch", "MyListings", "Roster"]

      def self.default(options = {})
        response = connection.get("/#{self.element_name}/default", options).first
        response.nil? ? nil : new(response)
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spark_api-1.4.1 lib/spark_api/models/idx_link.rb
spark_api-1.4.0 lib/spark_api/models/idx_link.rb
spark_api-1.3.28 lib/spark_api/models/idx_link.rb
spark_api-1.3.27 lib/spark_api/models/idx_link.rb