Class: CivicSIPSdk::UserDataItem
- Inherits:
-
Object
- Object
- CivicSIPSdk::UserDataItem
- Defined in:
- lib/civic_sip_sdk/user_data_item.rb
Instance Attribute Summary collapse
-
#is_owner ⇒ Object
readonly
Returns the value of attribute is_owner.
-
#is_valid ⇒ Object
readonly
Returns the value of attribute is_valid.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(label:, value:, is_valid:, is_owner:) ⇒ UserDataItem
constructor
Creates an instance of UserDataItem.
Constructor Details
#initialize(label:, value:, is_valid:, is_owner:) ⇒ UserDataItem
Creates an instance of UserDataItem.
14 15 16 17 18 19 |
# File 'lib/civic_sip_sdk/user_data_item.rb', line 14 def initialize(label:, value:, is_valid:, is_owner:) @label = label @value = value @is_valid = is_valid @is_owner = is_owner end |
Instance Attribute Details
#is_owner ⇒ Object (readonly)
Returns the value of attribute is_owner.
5 6 7 |
# File 'lib/civic_sip_sdk/user_data_item.rb', line 5 def is_owner @is_owner end |
#is_valid ⇒ Object (readonly)
Returns the value of attribute is_valid.
5 6 7 |
# File 'lib/civic_sip_sdk/user_data_item.rb', line 5 def is_valid @is_valid end |
#label ⇒ Object (readonly)
Returns the value of attribute label.
5 6 7 |
# File 'lib/civic_sip_sdk/user_data_item.rb', line 5 def label @label end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
5 6 7 |
# File 'lib/civic_sip_sdk/user_data_item.rb', line 5 def value @value end |