Class: Documentation

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Serialization
Defined in:
app/models/documentation.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(docs, faqs) ⇒ Documentation

Returns a new instance of Documentation.



6
7
8
9
# File 'app/models/documentation.rb', line 6

def initialize(docs, faqs)
  @documents = docs
  @faqs = faqs
end

Instance Attribute Details

#documentsObject (readonly)

Returns the value of attribute documents.



3
4
5
# File 'app/models/documentation.rb', line 3

def documents
  @documents
end

#faqsObject (readonly)

Returns the value of attribute faqs.



3
4
5
# File 'app/models/documentation.rb', line 3

def faqs
  @faqs
end