Class: Cb::Clients::ApiRequest
- Inherits:
-
Object
- Object
- Cb::Clients::ApiRequest
- Defined in:
- lib/cb/clients/api_request.rb
Instance Attribute Summary collapse
-
#cb_client ⇒ Object
Returns the value of attribute cb_client.
-
#create_endpoint ⇒ Object
Returns the value of attribute create_endpoint.
-
#delete_endpoint ⇒ Object
Returns the value of attribute delete_endpoint.
-
#list_endpoint ⇒ Object
Returns the value of attribute list_endpoint.
-
#show_endpoint ⇒ Object
Returns the value of attribute show_endpoint.
-
#update_endpoint ⇒ Object
Returns the value of attribute update_endpoint.
Instance Method Summary collapse
-
#initialize ⇒ ApiRequest
constructor
A new instance of ApiRequest.
Constructor Details
#initialize ⇒ ApiRequest
Returns a new instance of ApiRequest.
8 9 10 |
# File 'lib/cb/clients/api_request.rb', line 8 def initialize @cb_client = Cb.api_client.new end |
Instance Attribute Details
#cb_client ⇒ Object
Returns the value of attribute cb_client.
6 7 8 |
# File 'lib/cb/clients/api_request.rb', line 6 def cb_client @cb_client end |
#create_endpoint ⇒ Object
Returns the value of attribute create_endpoint.
6 7 8 |
# File 'lib/cb/clients/api_request.rb', line 6 def create_endpoint @create_endpoint end |
#delete_endpoint ⇒ Object
Returns the value of attribute delete_endpoint.
6 7 8 |
# File 'lib/cb/clients/api_request.rb', line 6 def delete_endpoint @delete_endpoint end |
#list_endpoint ⇒ Object
Returns the value of attribute list_endpoint.
6 7 8 |
# File 'lib/cb/clients/api_request.rb', line 6 def list_endpoint @list_endpoint end |
#show_endpoint ⇒ Object
Returns the value of attribute show_endpoint.
6 7 8 |
# File 'lib/cb/clients/api_request.rb', line 6 def show_endpoint @show_endpoint end |
#update_endpoint ⇒ Object
Returns the value of attribute update_endpoint.
6 7 8 |
# File 'lib/cb/clients/api_request.rb', line 6 def update_endpoint @update_endpoint end |