Class: Fizzy::Types::DirectUploadMetadata
- Inherits:
-
Data
- Object
- Data
- Fizzy::Types::DirectUploadMetadata
- Defined in:
- lib/fizzy/generated/types.rb
Instance Attribute Summary collapse
-
#headers ⇒ Object
readonly
Returns the value of attribute headers.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Class Method Summary collapse
Instance Attribute Details
#headers ⇒ Object (readonly)
Returns the value of attribute headers
543 544 545 |
# File 'lib/fizzy/generated/types.rb', line 543 def headers @headers end |
#url ⇒ Object (readonly)
Returns the value of attribute url
543 544 545 |
# File 'lib/fizzy/generated/types.rb', line 543 def url @url end |
Class Method Details
.from_json(data) ⇒ Object
545 546 547 548 549 550 |
# File 'lib/fizzy/generated/types.rb', line 545 def self.from_json(data) new( url: data["url"], headers: data["headers"] && DirectUploadHeaders.from_json(data["headers"]) ) end |