class Ayadn::PreferencesColors
Attributes
date[RW]
debug[RW]
dots[RW]
excerpt[RW]
id[RW]
index[RW]
link[RW]
mentions[RW]
name[RW]
source[RW]
symbols[RW]
unread[RW]
username[RW]
Public Class Methods
new(hash)
click to toggle source
# File lib/ayadn/preferences_object.rb, line 130 def initialize hash @index = hash[:index] @username = hash[:username] @name = hash[:name] @date = hash[:date] @link = hash[:link] @dots = hash[:dots] @hashtags = hash[:hashtags] @mentions = hash[:mentions] @source = hash[:source] @symbols = hash[:symbols] @unread = hash[:unread] @debug = hash[:debug] @excerpt = hash[:excerpt] @id = hash[:id] end
Public Instance Methods
to_h()
click to toggle source
# File lib/ayadn/preferences_object.rb, line 146 def to_h { id: @id, index: @index, username: @username, name: @name, date: @date, link: @link, dots: @dots, hashtags: @hashtags, mentions: @mentions, source: @source, symbols: @symbols, unread: @unread, debug: @debug, excerpt: @excerpt } end