Sha256: 1907de6f76405f57df79265d638cd10cafc7a9741ce4ebc6a7a725295bd39b13

Contents?: true

Size: 422 Bytes

Versions: 22

Compression:

Stored size: 422 Bytes

Contents

require 'haveapi/go_client/authentication/base'

module HaveAPI::GoClient
  class Authentication::Basic < Authentication::Base
    register :basic

    def initialize(api_version, name, desc)

    end

    def generate(gen)
      ErbTemplate.render_to_if_changed(
        'authentication/basic.go',
        {
          package: gen.package,
        },
        File.join(gen.dst, 'auth_basic.go')
      )
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
haveapi-go-client-0.13.1 lib/haveapi/go_client/authentication/basic.rb
haveapi-go-client-0.13.0 lib/haveapi/go_client/authentication/basic.rb