class Ayadn::PreferencesBackup
Attributes
lists[RW]
messages[RW]
posts[RW]
Public Class Methods
new(hash)
click to toggle source
# File lib/ayadn/preferences_object.rb, line 168 def initialize hash @posts = hash[:posts] @messages = hash[:messages] @lists = hash[:lists] end
Public Instance Methods
to_h()
click to toggle source
# File lib/ayadn/preferences_object.rb, line 173 def to_h { posts: @posts, messages: @messages, lists: @lists } end