Module: Helium::Client::Labels
- Included in:
- Helium::Client
- Defined in:
- lib/helium/client/labels.rb
Instance Method Summary collapse
Instance Method Details
#create_label(attributes) ⇒ Object
12 13 14 |
# File 'lib/helium/client/labels.rb', line 12 def create_label(attributes) Label.create(attributes, client: self) end |
#label(id) ⇒ Object
8 9 10 |
# File 'lib/helium/client/labels.rb', line 8 def label(id) Label.find(id, client: self) end |
#labels ⇒ Object
4 5 6 |
# File 'lib/helium/client/labels.rb', line 4 def labels Label.all(client: self) end |