class Awscr::S3::Presigned::Policy
- Awscr::S3::Presigned::Policy
- Reference
- Object
Defined in:
awscr-s3/presigned/post_policy.crConstructors
Instance Method Summary
-
#condition(key : String, value : String | Int32)
Adds a
Condition
to thePolicy
. -
#expiration(time : Time | Nil)
The expiration time of the
Policy
. -
#expiration : Time?
The expiration time of this policy
-
#fields : Awscr::S3::Presigned::FieldCollection
The policy fields
-
#to_hash
Returns the hash Representation of the
Policy
. -
#to_s(io : IO)
Returns the
Policy
has Base64 encoded JSON. -
#valid?
Returns true if the
Policy
is valid, false otherwise.
Constructor Detail
Instance Method Detail
def to_hash
#