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
8 9 10 |
# File 'lib/gitlab/triage/network.rb', line 8 def graphql @graphql end |
#restapi ⇒ Object
Returns the value of attribute restapi
8 9 10 |
# File 'lib/gitlab/triage/network.rb', line 8 def restapi @restapi end |
Instance Method Details
#delete_api ⇒ Object
36 37 38 |
# File 'lib/gitlab/triage/network.rb', line 36 def delete_api(...) restapi.delete_api(...) end |
#graphql_options ⇒ Object
28 29 30 |
# File 'lib/gitlab/triage/network.rb', line 28 def graphql. end |
#post_api ⇒ Object
32 33 34 |
# File 'lib/gitlab/triage/network.rb', line 32 def post_api(...) restapi.post_api(...) end |
#query_api(url) ⇒ Object
9 10 11 |
# File 'lib/gitlab/triage/network.rb', line 9 def query_api(url) restapi.query_api(url) end |
#query_api_cached(url) ⇒ Object
17 18 19 |
# File 'lib/gitlab/triage/network.rb', line 17 def query_api_cached(url) restapi.query_api_cached(url) end |
#query_graphql ⇒ Object
13 14 15 |
# File 'lib/gitlab/triage/network.rb', line 13 def query_graphql(...) graphql.query(...) end |
#restapi_options ⇒ Object Also known as: options
21 22 23 |
# File 'lib/gitlab/triage/network.rb', line 21 def restapi. end |