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
532 533 534 |
# File 'lib/fizzy/generated/types.rb', line 532 def content_md5 @content_md5 end |
#content_type ⇒ Object (readonly)
Returns the value of attribute content_type
532 533 534 |
# File 'lib/fizzy/generated/types.rb', line 532 def content_type @content_type end |
Class Method Details
.from_json(data) ⇒ Object
534 535 536 537 538 539 |
# File 'lib/fizzy/generated/types.rb', line 534 def self.from_json(data) new( content_type: data["Content_Type"], content_md5: data["Content_MD5"] ) end |