Class: Fopost::Resources::Labels
- Defined in:
- lib/fopost/resources/labels.rb
Overview
client.labels — workspace labels you can attach to posts.
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Fopost::Resources::Base
Instance Method Details
#list(workspace_id: nil) ⇒ Object
7 8 9 |
# File 'lib/fopost/resources/labels.rb', line 7 def list(workspace_id: nil) parse_list(Label, unwrap(http.get('/labels', { 'workspace_id' => workspace_id }))) end |