class VagrantPlugins::Openstack::Domain::Item

Attributes

id[RW]
name[RW]

Public Class Methods

new(id, name) click to toggle source
# File lib/vagrant-openstack-provider/client/domain.rb, line 9
def initialize(id, name)
  @id = id
  @name = name
end

Public Instance Methods

==(other) click to toggle source
# File lib/vagrant-openstack-provider/client/domain.rb, line 14
def ==(other)
  other.class == self.class && other.state == state
end
state() click to toggle source
# File lib/vagrant-openstack-provider/client/domain.rb, line 18
def state
  [@id, @name]
end