Class: GAppsProvisioning::OwnerEntry
- Inherits:
-
Object
- Object
- GAppsProvisioning::OwnerEntry
- Defined in:
- lib/gappsprovisioning/provisioningapi.rb
Overview
OwnerEntry object.
Handles API responses relative to a owner of a group.
Attributes : owner_id : string . The owner_id is a complete email address.
Instance Attribute Summary collapse
-
#owner_id ⇒ Object
readonly
Returns the value of attribute owner_id.
Instance Method Summary collapse
-
#initialize(entry) ⇒ OwnerEntry
constructor
OwnerEntry constructor.
Constructor Details
#initialize(entry) ⇒ OwnerEntry
OwnerEntry constructor. Needs a REXML::Element <entry> as parameter
778 779 780 |
# File 'lib/gappsprovisioning/provisioningapi.rb', line 778 def initialize(entry) #:nodoc: entry.elements.each("apps:property"){ |e| @owner_id = e.attributes["value"] if e.attributes["name"].eql?("email") } end |
Instance Attribute Details
#owner_id ⇒ Object (readonly)
Returns the value of attribute owner_id.
775 776 777 |
# File 'lib/gappsprovisioning/provisioningapi.rb', line 775 def owner_id @owner_id end |