Class: AssayDepot::Category

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



6
7
8
# File 'lib/assaydepot/endpoints.rb', line 6

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

.ref_nameObject



10
11
12
# File 'lib/assaydepot/endpoints.rb', line 10

def self.ref_name
  "category_refs"
end