Class: Google::Cloud::Storage::PostObject
- Inherits:
-
Object
- Object
- Google::Cloud::Storage::PostObject
- Defined in:
- lib/google/cloud/storage/post_object.rb
Overview
PostObject represents the URL, fields, and values needed to upload objects via html forms.
Instance Attribute Summary collapse
-
#fields ⇒ Hash
readonly
The input fields that must be included in the form.
-
#url ⇒ String
readonly
The URL the form must post to.
Instance Attribute Details
#fields ⇒ Hash (readonly)
The input fields that must be included in the form. Each key/value pair should be set as an input tag's name and value.
61 62 63 |
# File 'lib/google/cloud/storage/post_object.rb', line 61 def fields @fields end |
#url ⇒ String (readonly)
The URL the form must post to.
61 62 63 |
# File 'lib/google/cloud/storage/post_object.rb', line 61 def url @url end |