module TelphinApi

Main module.

Constants

VERSION

Library version.

Public Class Methods

register_alias() click to toggle source

Creates a short alias `TPH` for `TelphinApi` module.

# File lib/telphin_api.rb, line 30
def register_alias
  Object.const_set(:TPH, TelphinApi)
end
unregister_alias() click to toggle source

Removes the `TPH` alias.

# File lib/telphin_api.rb, line 35
def unregister_alias
  Object.send(:remove_const, :TPH) if defined?(TPH)
end