Class: AssayDepot::Provider

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



94
95
96
# File 'lib/assaydepot/endpoints.rb', line 94

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

.ref_nameObject



102
103
104
# File 'lib/assaydepot/endpoints.rb', line 102

def self.ref_name
  "provider_refs"
end

.search_typeObject



98
99
100
# File 'lib/assaydepot/endpoints.rb', line 98

def self.search_type
  "providers"
end