Class: Fog::AWS::S3::Owner

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/aws/models/s3/owner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Model

#inspect, #update_attributes

Constructor Details

#initialize(attributes = {}) ⇒ Owner

Returns a new instance of Owner.



10
11
12
13
14
15
16
# File 'lib/fog/aws/models/s3/owner.rb', line 10

def initialize(attributes = {})
  remap_attributes(attributes, { 
    'DisplayName' => :display_name,
    'ID'          => :id
  })
  super
end

Instance Attribute Details

#display_nameObject

Returns the value of attribute display_name.



7
8
9
# File 'lib/fog/aws/models/s3/owner.rb', line 7

def display_name
  @display_name
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/fog/aws/models/s3/owner.rb', line 7

def id
  @id
end