Class: AssayDepot::List
Class Method Summary
collapse
#all, included, #internal_results
Class Method Details
.create(slug, name) ⇒ Object
207
208
209
|
# File 'lib/assaydepot/endpoints.rb', line 207
def self.create(slug, name)
post(body: { slug: slug, name: name })
end
|
.endpoint(id = nil, format = "json") ⇒ Object
211
212
213
|
# File 'lib/assaydepot/endpoints.rb', line 211
def self.endpoint(id=nil, format="json")
get_endpoint(id, "dynamic_lists", format)
end
|
.ref_name ⇒ Object
215
216
217
|
# File 'lib/assaydepot/endpoints.rb', line 215
def self.ref_name
"dynamic_lists"
end
|