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.



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

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

Instance Attribute Details

#metadataObject

Returns the value of attribute metadata.



10
11
12
# File 'lib/crystalline/metadata_fields.rb', line 10

def 
  
end

#nameObject

Returns the value of attribute name.



10
11
12
# File 'lib/crystalline/metadata_fields.rb', line 10

def name
  @name
end

#typeObject

Returns the value of attribute type.



10
11
12
# File 'lib/crystalline/metadata_fields.rb', line 10

def type
  @type
end