Class: Connect::WebService::ConnectParameters::ConnectParameter
- Inherits:
-
Object
- Object
- Connect::WebService::ConnectParameters::ConnectParameter
- Defined in:
- lib/connect/web_service/connect_parameters/connect_parameter.rb
Instance Attribute Summary collapse
-
#property ⇒ Object
Returns the value of attribute property.
-
#required ⇒ Object
Returns the value of attribute required.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(property, value, required = false) ⇒ ConnectParameter
constructor
A new instance of ConnectParameter.
Constructor Details
#initialize(property, value, required = false) ⇒ ConnectParameter
Returns a new instance of ConnectParameter.
9 10 11 12 13 |
# File 'lib/connect/web_service/connect_parameters/connect_parameter.rb', line 9 def initialize(property, value, required = false) @property = property @value = value @required = required end |
Instance Attribute Details
#property ⇒ Object
Returns the value of attribute property.
7 8 9 |
# File 'lib/connect/web_service/connect_parameters/connect_parameter.rb', line 7 def property @property end |
#required ⇒ Object
Returns the value of attribute required.
7 8 9 |
# File 'lib/connect/web_service/connect_parameters/connect_parameter.rb', line 7 def required @required end |
#value ⇒ Object
Returns the value of attribute value.
7 8 9 |
# File 'lib/connect/web_service/connect_parameters/connect_parameter.rb', line 7 def value @value end |