Class: Crowbar::Client::Request::Barclamp::List
- Inherits:
-
Crowbar::Client::Request::Base
- Object
- Crowbar::Client::Request::Base
- Crowbar::Client::Request::Barclamp::List
- Defined in:
- lib/crowbar/client/request/barclamp/list.rb
Overview
Implementation for the barclamp list request
Instance Attribute Summary
Attributes inherited from Crowbar::Client::Request::Base
Instance Method Summary collapse
-
#method ⇒ Symbol
HTTP method that gets used by the request.
-
#url ⇒ String
Path to the API endpoint for the request.
Methods inherited from Crowbar::Client::Request::Base
#content, #headers, #initialize, #params, #process
Constructor Details
This class inherits a constructor from Crowbar::Client::Request::Base
Instance Method Details
#method ⇒ Symbol
HTTP method that gets used by the request
30 31 32 |
# File 'lib/crowbar/client/request/barclamp/list.rb', line 30 def method :get end |
#url ⇒ String
Path to the API endpoint for the request
39 40 41 42 43 |
# File 'lib/crowbar/client/request/barclamp/list.rb', line 39 def url [ "crowbar" ].join("/") end |