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
532 533 534 |
# File 'lib/fizzy/generated/types.rb', line 532 def headers @headers end |
#url ⇒ Object (readonly)
Returns the value of attribute url
532 533 534 |
# File 'lib/fizzy/generated/types.rb', line 532 def url @url 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( url: data["url"], headers: data["headers"] ) end |