Class: DropletKit::ReservedIpv6

Inherits:
BaseModel show all
Defined in:
lib/droplet_kit/models/reserved_ipv6.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



15
16
17
# File 'lib/droplet_kit/models/reserved_ipv6.rb', line 15

def self.from_identifier(identifier)
  new(ip: identifier)
end

Instance Method Details

#identifierObject



11
12
13
# File 'lib/droplet_kit/models/reserved_ipv6.rb', line 11

def identifier
  ip
end