module HaveAPI::GoClient

Constants

VERSION

Public Class Methods

tpl(name) click to toggle source

@param name [String] template within the `../../template/` directory,

without `.erb` suffix

@return [String] absolute path to the template

# File lib/haveapi/go_client.rb, line 8
def self.tpl(name)
  File.join(
    File.dirname(__FILE__),
    '..', '..',
    'template',
    "#{name}.erb"
  )
end