Class: AssayDepot::Ware

Inherits:
Object
  • Object
show all
Includes:
SearchModel
Defined in:
lib/assaydepot/endpoints.rb

Class Method Summary collapse

Methods included from SearchModel

#facets, #find, included, #initialize, #internal_results, #where

Class Method Details

.endpoint(id = nil, format = "json") ⇒ Object



138
139
140
# File 'lib/assaydepot/endpoints.rb', line 138

def self.endpoint(id=nil, format="json")
  get_endpoint( id, "wares", format)
end

.ref_nameObject



146
147
148
# File 'lib/assaydepot/endpoints.rb', line 146

def self.ref_name
  "ware_refs"
end

.search_typeObject



142
143
144
# File 'lib/assaydepot/endpoints.rb', line 142

def self.search_type
  "wares"
end