Module: Taro::Types::Shared::AdditionalProperties

Defined in:
lib/taro/types/shared/additional_properties.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#additional_properties=(value) ⇒ Object (writeonly)

Sets the attribute additional_properties

Parameters:

  • value

    the value to set the attribute additional_properties to.



2
3
4
# File 'lib/taro/types/shared/additional_properties.rb', line 2

def additional_properties=(value)
  @additional_properties = value
end

Instance Method Details

#additional_properties?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/taro/types/shared/additional_properties.rb', line 4

def additional_properties?
  !!@additional_properties
end

#inherited(subclass) ⇒ Object



8
9
10
11
# File 'lib/taro/types/shared/additional_properties.rb', line 8

def inherited(subclass)
  super
  subclass.additional_properties = @additional_properties
end