Class: Brapi::Resources::Available
- Inherits:
-
Brapi::Resource
- Object
- Brapi::Resource
- Brapi::Resources::Available
- Defined in:
- lib/brapi/resources/available.rb
Instance Attribute Summary
Attributes inherited from Brapi::Resource
Instance Method Summary collapse
-
#list(**params) ⇒ Object
GET /api/available.
Methods inherited from Brapi::Resource
Constructor Details
This class inherits a constructor from Brapi::Resource
Instance Method Details
#list(**params) ⇒ Object
GET /api/available
7 8 9 10 |
# File 'lib/brapi/resources/available.rb', line 7 def list(**params) raw = get("/api/available", params: params) Brapi::Models::AvailableListResponse.from_h(raw) end |