Class: Nexmo::Markdown::DocFinder::Doc
- Inherits:
-
Object
- Object
- Nexmo::Markdown::DocFinder::Doc
- Defined in:
- lib/nexmo_markdown_renderer/services/doc_finder/doc.rb
Instance Attribute Summary collapse
-
#available_languages ⇒ Object
readonly
Returns the value of attribute available_languages.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path:, available_languages:) ⇒ Doc
constructor
A new instance of Doc.
Constructor Details
#initialize(path:, available_languages:) ⇒ Doc
Returns a new instance of Doc.
6 7 8 9 |
# File 'lib/nexmo_markdown_renderer/services/doc_finder/doc.rb', line 6 def initialize(path:, available_languages:) @path = path @available_languages = available_languages end |
Instance Attribute Details
#available_languages ⇒ Object (readonly)
Returns the value of attribute available_languages.
4 5 6 |
# File 'lib/nexmo_markdown_renderer/services/doc_finder/doc.rb', line 4 def available_languages @available_languages end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
4 5 6 |
# File 'lib/nexmo_markdown_renderer/services/doc_finder/doc.rb', line 4 def path @path end |