Class: Nexmo::Markdown::CodeSnippetRenderer::Android

Inherits:
Base
  • Object
show all
Defined in:
lib/nexmo_markdown_renderer/services/code_snippet_renderer/android.rb

Class Method Summary collapse

Methods inherited from Base

inherited

Class Method Details

.add_instructions(_filename) ⇒ Object



19
20
21
# File 'lib/nexmo_markdown_renderer/services/code_snippet_renderer/android.rb', line 19

def self.add_instructions(_filename)
  ::I18n.t('services.code_snippet_renderer.add_instructions_to_code')
end

.create_instructions(filename) ⇒ Object



15
16
17
# File 'lib/nexmo_markdown_renderer/services/code_snippet_renderer/android.rb', line 15

def self.create_instructions(filename)
  ::I18n.t('services.code_snippet_renderer.create_instructions', filename: filename)
end

.dependencies(_deps, _version) ⇒ Object



5
6
7
8
9
# File 'lib/nexmo_markdown_renderer/services/code_snippet_renderer/android.rb', line 5

def self.dependencies(_deps, _version)
  {
    'text' => 'See <a href="https://developer.nexmo.com/use-cases/client-sdk-android-add-sdk-to-your-app">How to Add the Nexmo Client SDK to your Android App</a>',
  }
end

.run_command(_command, _filename, _file_path) ⇒ Object



11
12
13
# File 'lib/nexmo_markdown_renderer/services/code_snippet_renderer/android.rb', line 11

def self.run_command(_command, _filename, _file_path)
  nil
end