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.
      44 45 46  | 
    
      # File 'lib/google/cloud/storage/post_object.rb', line 44 def fields @fields end  | 
  
#url ⇒ String (readonly)
The URL the form must post to.
      44 45 46  | 
    
      # File 'lib/google/cloud/storage/post_object.rb', line 44 def url @url end  |