Class: AssayDepot::User
Class Method Summary
collapse
#facets, #find, included, #initialize, #internal_results, #where
Class Method Details
.endpoint(id = nil, format = "json") ⇒ Object
126
127
128
|
# File 'lib/assaydepot/endpoints.rb', line 126
def self.endpoint(id=nil, format="json")
get_endpoint(id == nil || id[0] == nil ? nil : 'profile', "users", format)
end
|
.profile ⇒ Object
122
123
124
|
# File 'lib/assaydepot/endpoints.rb', line 122
def self.profile
get(id: "profile")
end
|
.ref_name ⇒ Object
130
131
132
|
# File 'lib/assaydepot/endpoints.rb', line 130
def self.ref_name
"user_refs"
end
|