Class: Multipart
- Inherits:
-
Struct
- Object
- Struct
- Multipart
- Defined in:
- lib/hyperion/types/multipart.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
Class Method Summary collapse
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
1 2 3 |
# File 'lib/hyperion/types/multipart.rb', line 1 def body @body end |
Class Method Details
.content_type ⇒ Object
6 7 8 |
# File 'lib/hyperion/types/multipart.rb', line 6 def self.content_type 'multipart/form-data' end |
.format ⇒ Object
2 3 4 |
# File 'lib/hyperion/types/multipart.rb', line 2 def self.format :multipart end |