Class: MinxingRubySdk::COMPONENT::PostParameter

Inherits:
Object
  • Object
show all
Defined in:
lib/minxing_ruby_sdk/component/post_parameter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/minxing_ruby_sdk/component/post_parameter.rb', line 4

def name
  @name
end

#valueObject

Returns the value of attribute value.



4
5
6
# File 'lib/minxing_ruby_sdk/component/post_parameter.rb', line 4

def value
  @value
end