Class: MinxingRubySdk::COMPONENT::PostParameter
- Inherits:
-
Object
- Object
- MinxingRubySdk::COMPONENT::PostParameter
- Defined in:
- lib/minxing_ruby_sdk/component/post_parameter.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(name, value) ⇒ PostParameter
constructor
A new instance of PostParameter.
Constructor Details
#initialize(name, value) ⇒ PostParameter
Returns a new instance of PostParameter.
6 7 8 9 |
# File 'lib/minxing_ruby_sdk/component/post_parameter.rb', line 6 def initialize (name, value) @name = name @value = value end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/minxing_ruby_sdk/component/post_parameter.rb', line 4 def name @name end |
#value ⇒ Object
Returns the value of attribute value.
4 5 6 |
# File 'lib/minxing_ruby_sdk/component/post_parameter.rb', line 4 def value @value end |