class HaveAPI::GoClient::Authentication::Basic

Public Class Methods

new(api_version, name, desc) click to toggle source
# File lib/haveapi/go_client/authentication/basic.rb, line 7
def initialize(api_version, name, desc)

end

Public Instance Methods

generate(gen) click to toggle source
# File lib/haveapi/go_client/authentication/basic.rb, line 11
def generate(gen)
  ErbTemplate.render_to_if_changed(
    'authentication/basic.go',
    {
      package: gen.package,
    },
    File.join(gen.dst, 'auth_basic.go')
  )
end