Class: DingSDK::MetadataFields::Field
- Inherits:
-
Object
- Object
- DingSDK::MetadataFields::Field
- Defined in:
- lib/ding_sdk/utils/metadata_fields.rb
Instance Attribute Summary collapse
-
#metadata ⇒ Object
Returns the value of attribute metadata.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(name, type, metadata) ⇒ Field
constructor
A new instance of Field.
Constructor Details
#initialize(name, type, metadata) ⇒ Field
Returns a new instance of Field.
13 14 15 16 17 |
# File 'lib/ding_sdk/utils/metadata_fields.rb', line 13 def initialize(name, type, ) @name = name @type = type @metadata = end |
Instance Attribute Details
#metadata ⇒ Object
Returns the value of attribute metadata.
11 12 13 |
# File 'lib/ding_sdk/utils/metadata_fields.rb', line 11 def @metadata end |
#name ⇒ Object
Returns the value of attribute name.
11 12 13 |
# File 'lib/ding_sdk/utils/metadata_fields.rb', line 11 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
11 12 13 |
# File 'lib/ding_sdk/utils/metadata_fields.rb', line 11 def type @type end |