Class: Ynl::Models::SubMessage::Format

Inherits:
Struct
  • Object
show all
Defined in:
ynl/lib/ynl/models.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#attribute_set ⇒ Object

Returns the value of attribute attribute_set

Returns:

  • (Object) —

    the current value of attribute_set



36
37
38
# File 'ynl/lib/ynl/models.rb', line 36

def attribute_set
  @attribute_set
end

#fixed_header ⇒ Object

Returns the value of attribute fixed_header

Returns:

  • (Object) —

    the current value of fixed_header



36
37
38
# File 'ynl/lib/ynl/models.rb', line 36

def fixed_header
  @fixed_header
end

#value ⇒ Object

Returns the value of attribute value

Returns:

  • (Object) —

    the current value of value



36
37
38
# File 'ynl/lib/ynl/models.rb', line 36

def value
  @value
end

Instance Method Details

#resolve(f) ⇒ Object



37
38
39
40
41
# File 'ynl/lib/ynl/models.rb', line 37

def resolve(f)
  self.fixed_header = fixed_header.resolve(f) if fixed_header.is_a?(Thunk)
  self.attribute_set = attribute_set.resolve(f) if attribute_set.is_a?(Thunk)
  self
end