class

Aws::S3::Presigned::FieldCollection

Inherits Enumerable / Reference / Object

Holds a collection of PostFields.

fields = FieldCollection.new
fields.to_a # => [] of PostField
field["test"] = "test"
field.push(PostField.new("Hi", "Hi"))

Constructors

Instance methods

[](key)

Access a key, by name, from the field collection. Returns the key if found, otherwise returns nil.

Source
each

Iterate over the collection's fields.

Source
push(field : PostField)

Adds a new PostField to the collection.

Source
to_hash

Convert the collection to a hash in the form of key => value.

Source