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

Inherits:
Object
  • Object
show all
Defined in:
lib/azure/storage/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:


18
19
20
# File 'lib/azure/storage/service/access_policy.rb', line 18

def initialize
  yield self if block_given?
end

Instance Attribute Details

#expiryObject

Returns the value of attribute expiry


22
23
24
# File 'lib/azure/storage/service/access_policy.rb', line 22

def expiry
  @expiry
end

#permissionObject

Returns the value of attribute permission


23
24
25
# File 'lib/azure/storage/service/access_policy.rb', line 23

def permission
  @permission
end

#startObject

Returns the value of attribute start


21
22
23
# File 'lib/azure/storage/service/access_policy.rb', line 21

def start
  @start
end