Class: Documentation
- Inherits:
-
Object
- Object
- Documentation
- Includes:
- ActiveModel::Serialization
- Defined in:
- app/models/documentation.rb
Instance Attribute Summary collapse
-
#documents ⇒ Object
readonly
Returns the value of attribute documents.
-
#faqs ⇒ Object
readonly
Returns the value of attribute faqs.
Instance Method Summary collapse
-
#initialize(docs, faqs) ⇒ Documentation
constructor
A new instance of Documentation.
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
#documents ⇒ Object (readonly)
Returns the value of attribute documents.
3 4 5 |
# File 'app/models/documentation.rb', line 3 def documents @documents end |
#faqs ⇒ Object (readonly)
Returns the value of attribute faqs.
3 4 5 |
# File 'app/models/documentation.rb', line 3 def faqs @faqs end |