Class: Crystalline::MetadataFields::Field

Inherits:
Object
  • Object
show all
Defined in:
lib/crystalline/metadata_fields.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, type, metadata) ⇒ Field

Returns a new instance of Field.



14
15
16
17
18
# File 'lib/crystalline/metadata_fields.rb', line 14

def initialize(name, type, )
  @name = name
  @type = type
  @metadata = 
end

Instance Attribute Details

#metadataObject

Returns the value of attribute metadata.



12
13
14
# File 'lib/crystalline/metadata_fields.rb', line 12

def 
  @metadata
end

#nameObject

Returns the value of attribute name.



12
13
14
# File 'lib/crystalline/metadata_fields.rb', line 12

def name
  @name
end

#typeObject

Returns the value of attribute type.



12
13
14
# File 'lib/crystalline/metadata_fields.rb', line 12

def type
  @type
end