Class: Effective::StyleGuide

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/effective/style_guide.rb

Constant Summary collapse

ATTRIBUTES =
[
  :id, :title, :email, :password, :number, :range, :category, :content, :phone,
  :archived, :drink, :food, :price, :updated_at, :publish_on, :static_text
]

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.column_defaultsObject



17
18
19
# File 'app/models/effective/style_guide.rb', line 17

def self.column_defaults
  {}
end

.columnsObject



13
14
15
# File 'app/models/effective/style_guide.rb', line 13

def self.columns
  @columns ||= []
end

.has_attribute?(*args) ⇒ Boolean

Returns:

  • (Boolean)


21
22
23
# File 'app/models/effective/style_guide.rb', line 21

def self.has_attribute?(*args)
  false
end

Instance Method Details

#static_textObject



25
26
27
# File 'app/models/effective/style_guide.rb', line 25

def static_text
  'some static text'
end