Class: DropletKit::BaseModel
- Inherits:
-
Object
- Object
- DropletKit::BaseModel
- Defined in:
- lib/droplet_kit/models/base_model.rb
Direct Known Subclasses
Account, Action, Backup, Domain, DomainRecord, Droplet, DropletUpgrade, FloatingIp, Image, ImageAction, Kernel, MetaInformation, PaginationInformation, Region, SSHKey, Size, Snapshot
Instance Method Summary collapse
Instance Method Details
#inspect ⇒ Object
8 9 10 11 |
# File 'lib/droplet_kit/models/base_model.rb', line 8 def inspect values = Hash[instance_variables.map { |name| [name, instance_variable_get(name)] } ] "<#{self.class.name} #{values}>" end |