Class: Azure::Storage::Common::Service::AccessPolicy
- Inherits:
-
Object
- Object
- Azure::Storage::Common::Service::AccessPolicy
- Defined in:
- lib/azure/storage/common/service/access_policy.rb
Instance Attribute Summary collapse
-
#expiry ⇒ Object
Returns the value of attribute expiry.
-
#permission ⇒ Object
Returns the value of attribute permission.
-
#start ⇒ Object
Returns the value of attribute start.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ AccessPolicy
constructor
A new instance of AccessPolicy.
Constructor Details
#initialize {|_self| ... } ⇒ AccessPolicy
Returns a new instance of AccessPolicy.
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
#expiry ⇒ Object
Returns the value of attribute expiry.
33 34 35 |
# File 'lib/azure/storage/common/service/access_policy.rb', line 33 def expiry @expiry end |
#permission ⇒ Object
Returns the value of attribute permission.
34 35 36 |
# File 'lib/azure/storage/common/service/access_policy.rb', line 34 def @permission end |
#start ⇒ Object
Returns the value of attribute start.
32 33 34 |
# File 'lib/azure/storage/common/service/access_policy.rb', line 32 def start @start end |