Class: Protocol::Content::Parameters::Value::Invalid
- Inherits:
-
Object
- Object
- Protocol::Content::Parameters::Value::Invalid
- Defined in:
- lib/protocol/content/parameters/value.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#details ⇒ Object
readonly
Returns the value of attribute details.
Instance Method Summary collapse
- #apply_upload(errors, path) ⇒ Object
-
#initialize(code, **details) ⇒ Invalid
constructor
A new instance of Invalid.
Constructor Details
#initialize(code, **details) ⇒ Invalid
Returns a new instance of Invalid.
20 21 22 23 |
# File 'lib/protocol/content/parameters/value.rb', line 20 def initialize(code, **details) @code = code @details = details end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
25 26 27 |
# File 'lib/protocol/content/parameters/value.rb', line 25 def code @code end |
#details ⇒ Object (readonly)
Returns the value of attribute details.
26 27 28 |
# File 'lib/protocol/content/parameters/value.rb', line 26 def details @details end |