Class: Inforouter::AccessListUserGroupItem

Inherits:
Record
  • Object
show all
Defined in:
lib/inforouter/access_list_user_group_item.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Record

#initialize

Constructor Details

This class inherits a constructor from Inforouter::Record

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



6
7
8
# File 'lib/inforouter/access_list_user_group_item.rb', line 6

def description
  @description
end

#domainObject

Returns the value of attribute domain.



3
4
5
# File 'lib/inforouter/access_list_user_group_item.rb', line 3

def domain
  @domain
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/inforouter/access_list_user_group_item.rb', line 4

def name
  @name
end

#rightObject

Returns the value of attribute right.



5
6
7
# File 'lib/inforouter/access_list_user_group_item.rb', line 5

def right
  @right
end

Instance Method Details

#to_hashObject

Convert the object to a useable hash for SOAP requests.



9
10
11
12
13
14
15
# File 'lib/inforouter/access_list_user_group_item.rb', line 9

def to_hash
  {
    'Domain' => domain,
    'UserGroupName' => name,
    'Right' => right
  }
end