Class: DropletKit::Tag
- Defined in:
- lib/droplet_kit/models/tag.rb
Constant Summary
Constants inherited from BaseModel
BaseModel::DO_NAMESPACE, BaseModel::UNSUPPORTED_COLLECTIONS
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from BaseModel
#collection_name, from_urn, #inspect, #urn, valid_urn?
Class Method Details
.from_identifier(identifier) ⇒ Object
12 13 14 |
# File 'lib/droplet_kit/models/tag.rb', line 12 def self.from_identifier(identifier) new(name: identifier) end |
Instance Method Details
#identifier ⇒ Object
8 9 10 |
# File 'lib/droplet_kit/models/tag.rb', line 8 def identifier name end |