Class: Azure::Storage::Common::Service::AccessPolicy

Inherits:
Object
  • Object
show all
Defined in:
lib/azure/storage/common/service/access_policy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ AccessPolicy

Returns a new instance of AccessPolicy.

Yields:

  • (_self)

Yield Parameters:



29
30
31
# File 'lib/azure/storage/common/service/access_policy.rb', line 29

def initialize
  yield self if block_given?
end

Instance Attribute Details

#expiryObject

Returns the value of attribute expiry.



33
34
35
# File 'lib/azure/storage/common/service/access_policy.rb', line 33

def expiry
  @expiry
end

#permissionObject

Returns the value of attribute permission.



34
35
36
# File 'lib/azure/storage/common/service/access_policy.rb', line 34

def permission
  @permission
end

#startObject

Returns the value of attribute start.



32
33
34
# File 'lib/azure/storage/common/service/access_policy.rb', line 32

def start
  @start
end