Class: GAppsProvisioning::OwnerEntry
- Inherits:
-
Object
- Object
- GAppsProvisioning::OwnerEntry
- Defined in:
- lib/gappsprovisioning/provisioningapi.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(entry) ⇒ OwnerEntry
constructor
A new instance of OwnerEntry.
Constructor Details
#initialize(entry) ⇒ OwnerEntry
792 793 794 795 796 797 798 799 800 801 802 |
# File 'lib/gappsprovisioning/provisioningapi.rb', line 792 def initialize(entry) @id = entry.elements["id"].get_text entry.elements.each("apps:property") do |prop| prop_name = prop.attributes["name"] case prop_name when 'email' @email = prop.attributes["value"] else end end end |
Instance Attribute Details
#email ⇒ Object (readonly)
Returns the value of attribute email.
790 791 792 |
# File 'lib/gappsprovisioning/provisioningapi.rb', line 790 def email @email end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
790 791 792 |
# File 'lib/gappsprovisioning/provisioningapi.rb', line 790 def id @id end |