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
10 11 12 |
# File 'lib/droplet_kit/models/tag.rb', line 10 def self.from_identifier(identifier) new(name: identifier) end |
Instance Method Details
#identifier ⇒ Object
6 7 8 |
# File 'lib/droplet_kit/models/tag.rb', line 6 def identifier name end |