Class: TreasureData::Schema::Field
- Inherits:
-
Object
- Object
- TreasureData::Schema::Field
- Defined in:
- lib/td/client/model.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(name, type) ⇒ Field
constructor
A new instance of Field.
Constructor Details
#initialize(name, type) ⇒ Field
Returns a new instance of Field.
292 293 294 295 |
# File 'lib/td/client/model.rb', line 292 def initialize(name, type) @name = name @type = type end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
299 300 301 |
# File 'lib/td/client/model.rb', line 299 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
299 |
# File 'lib/td/client/model.rb', line 299 attr_reader :name |