Class: AssayDepot::TokenAuth
- Inherits:
-
Object
- Object
- AssayDepot::TokenAuth
show all
- Includes:
- SearchModel
- Defined in:
- lib/assaydepot/endpoints.rb
Class Method Summary
collapse
#facets, #find, included, #initialize, #internal_results, #where
Class Method Details
.endpoint(site = "", format = nil) ⇒ Object
183
184
185
|
# File 'lib/assaydepot/endpoints.rb', line 183
def self.endpoint(site="", format=nil)
"#{site}/oauth/token?grant_type=client_credentials"
end
|
.ref_name ⇒ Object
187
188
189
|
# File 'lib/assaydepot/endpoints.rb', line 187
def self.ref_name
"access_token"
end
|