Class: Effective::StyleGuide

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Model
Defined in:
app/models/effective/style_guide.rb

Constant Summary collapse

ATTRIBUTES =
[
  :id, :title, :email, :password, :number, :range, :category, :content, :phone, :fax, :cell,
  :url, :color, :option1, :option2, :option3, :details,
  :archived, :drink, :food, :price, :updated_at, :publish_on, :static_text,
  :start_at, :end_at, :date, :time
]

Instance Method Summary collapse

Instance Method Details

#idObject



15
16
17
# File 'app/models/effective/style_guide.rb', line 15

def id
  object_id
end

#static_textObject



19
20
21
# File 'app/models/effective/style_guide.rb', line 19

def static_text
  'some static text'
end