Class: Fizzy::Types::DirectUploadHeaders
- Inherits:
-
Data
- Object
- Data
- Fizzy::Types::DirectUploadHeaders
- Defined in:
- lib/fizzy/generated/types.rb
Instance Attribute Summary collapse
-
#content_md5 ⇒ Object
readonly
Returns the value of attribute content_md5.
-
#content_type ⇒ Object
readonly
Returns the value of attribute content_type.
Class Method Summary collapse
Instance Attribute Details
#content_md5 ⇒ Object (readonly)
Returns the value of attribute content_md5
521 522 523 |
# File 'lib/fizzy/generated/types.rb', line 521 def content_md5 @content_md5 end |
#content_type ⇒ Object (readonly)
Returns the value of attribute content_type
521 522 523 |
# File 'lib/fizzy/generated/types.rb', line 521 def content_type @content_type end |
Class Method Details
.from_json(data) ⇒ Object
523 524 525 526 527 528 |
# File 'lib/fizzy/generated/types.rb', line 523 def self.from_json(data) new( content_type: data["Content_Type"], content_md5: data["Content_MD5"] ) end |