Class: Gitlab::Triage::Network
- Inherits:
-
Struct
- Object
- Struct
- Gitlab::Triage::Network
- Defined in:
- lib/gitlab/triage/network.rb
Instance Attribute Summary collapse
-
#graphql ⇒ Object
Returns the value of attribute graphql.
-
#restapi ⇒ Object
Returns the value of attribute restapi.
Instance Method Summary collapse
- #delete_api ⇒ Object
- #graphql_options ⇒ Object
- #post_api ⇒ Object
- #query_api(url) ⇒ Object
- #query_api_cached(url) ⇒ Object
- #query_graphql ⇒ Object
- #restapi_options ⇒ Object (also: #options)
Instance Attribute Details
#graphql ⇒ Object
Returns the value of attribute graphql
6 7 8 |
# File 'lib/gitlab/triage/network.rb', line 6 def graphql @graphql end |
#restapi ⇒ Object
Returns the value of attribute restapi
6 7 8 |
# File 'lib/gitlab/triage/network.rb', line 6 def restapi @restapi end |
Instance Method Details
#delete_api ⇒ Object
34 35 36 |
# File 'lib/gitlab/triage/network.rb', line 34 def delete_api(...) restapi.delete_api(...) end |
#graphql_options ⇒ Object
26 27 28 |
# File 'lib/gitlab/triage/network.rb', line 26 def graphql. end |
#post_api ⇒ Object
30 31 32 |
# File 'lib/gitlab/triage/network.rb', line 30 def post_api(...) restapi.post_api(...) end |
#query_api(url) ⇒ Object
7 8 9 |
# File 'lib/gitlab/triage/network.rb', line 7 def query_api(url) restapi.query_api(url) end |
#query_api_cached(url) ⇒ Object
15 16 17 |
# File 'lib/gitlab/triage/network.rb', line 15 def query_api_cached(url) restapi.query_api_cached(url) end |
#query_graphql ⇒ Object
11 12 13 |
# File 'lib/gitlab/triage/network.rb', line 11 def query_graphql(...) graphql.query(...) end |
#restapi_options ⇒ Object Also known as: options
19 20 21 |
# File 'lib/gitlab/triage/network.rb', line 19 def restapi. end |