class Ayadn::PreferencesFormats
Attributes
list[RW]
table[RW]
Public Class Methods
new(hash)
click to toggle source
# File lib/ayadn/preferences_object.rb, line 30 def initialize hash @table = PreferencesFormatsTable.new(hash[:table]) @list = PreferencesFormatsList.new(hash[:list]) end
Public Instance Methods
to_h()
click to toggle source
# File lib/ayadn/preferences_object.rb, line 34 def to_h { table: @table.to_h, list: @list.to_h } end