Class: S33r::S3ACL::AmazonCustomer
- Defined in:
- lib/s33r/s3_acl.rb
Overview
An Amazon customer for the purposes of assigning permissions.
Instance Attribute Summary collapse
-
#email_address ⇒ Object
Returns the value of attribute email_address.
Attributes inherited from Grantee
Instance Method Summary collapse
-
#initialize(email_address) ⇒ AmazonCustomer
constructor
A new instance of AmazonCustomer.
- #to_s ⇒ Object
Methods inherited from Grantee
#==, from_xml, #method_missing
Constructor Details
#initialize(email_address) ⇒ AmazonCustomer
Returns a new instance of AmazonCustomer.
252 253 254 255 |
# File 'lib/s33r/s3_acl.rb', line 252 def initialize(email_address) @grantee_type = GRANTEE_TYPES[:amazon_customer] @email_address = email_address end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class S33r::S3ACL::Grantee
Instance Attribute Details
#email_address ⇒ Object
Returns the value of attribute email_address.
250 251 252 |
# File 'lib/s33r/s3_acl.rb', line 250 def email_address @email_address end |
Instance Method Details
#to_s ⇒ Object
257 258 259 |
# File 'lib/s33r/s3_acl.rb', line 257 def to_s "Amazon customer with address '#{@email_address}" end |