Module: OmniApi
- Defined in:
- lib/omni_api.rb
Class Method Summary collapse
- .client_access_token ⇒ Object
- .client_access_token=(token) ⇒ Object
- .config ⇒ Object
- .setup {|_self| ... } ⇒ Object
Class Method Details
.client_access_token ⇒ Object
16 17 18 |
# File 'lib/omni_api.rb', line 16 def self.client_access_token @client_access_token || 'bearer empty' end |
.client_access_token=(token) ⇒ Object
12 13 14 |
# File 'lib/omni_api.rb', line 12 def self.client_access_token=(token) @client_access_token = "bearer #{token}" end |
.config ⇒ Object
20 21 22 |
# File 'lib/omni_api.rb', line 20 def self.config self end |
.setup {|_self| ... } ⇒ Object
24 25 26 |
# File 'lib/omni_api.rb', line 24 def self.setup yield self end |