Class: Taiga::FlexiBase
- Inherits:
-
Flexirest::Base
- Object
- Flexirest::Base
- Taiga::FlexiBase
show all
- Defined in:
- lib/taiga.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.base_url ⇒ Object
9
10
11
|
# File 'lib/taiga.rb', line 9
def self.base_url
Taiga.api_url
end
|
Instance Method Details
19
20
21
|
# File 'lib/taiga.rb', line 19
def (name, request)
request.['x-disable-pagination'] = 'True' if name == :all
end
|
#set_bearer(_name, request) ⇒ Object
14
15
16
|
# File 'lib/taiga.rb', line 14
def set_bearer(_name, request)
request.['Authorization'] = "Bearer #{Taiga.auth_token}"
end
|