Class: Nexmo::Markdown::DocFinder::Doc

Inherits:
Object
  • Object
show all
Defined in:
lib/nexmo_markdown_renderer/services/doc_finder/doc.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_languagesObject (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

#pathObject (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