class HAR::Param
- HAR::Param
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
har/param.crConstructors
- .new(pull : JSON::PullParser)
- .new(name : String, value : Nil | String = nil, file_name : Nil | String = nil, content_type : Nil | String = nil, comment : Nil | String = nil)
Instance Method Summary
-
#comment : String | Nil
A comment provided by the user or the application.
-
#comment=(comment : String | Nil)
A comment provided by the user or the application.
- #content_type : String | Nil
- #content_type=(content_type : String | Nil)
- #file_name : String | Nil
- #file_name=(file_name : String | Nil)
-
#name : String
Name of a posted parameter.
-
#name=(name : String)
Name of a posted parameter.
-
#value : String | Nil
Value of a posted parameter or content of a posted file.
-
#value=(value : String | Nil)
Value of a posted parameter or content of a posted file.
Constructor Detail
def self.new(name : String, value : Nil | String = nil, file_name : Nil | String = nil, content_type : Nil | String = nil, comment : Nil | String = nil)
#