Sha256: 364ba09d4b4464f545ff3245daf652a0b797e926ebbbc1034e2dd68b1e649aeb

Contents?: true

Size: 367 Bytes

Versions: 14

Compression:

Stored size: 367 Bytes

Contents

require 'haveapi/go_client/authentication/base'

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

    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

14 entries across 14 versions & 1 rubygems

Version Path
haveapi-go-client-0.25.0 lib/haveapi/go_client/authentication/basic.rb
haveapi-go-client-0.24.0 lib/haveapi/go_client/authentication/basic.rb
haveapi-go-client-0.23.7 lib/haveapi/go_client/authentication/basic.rb
haveapi-go-client-0.23.6 lib/haveapi/go_client/authentication/basic.rb
haveapi-go-client-0.23.5 lib/haveapi/go_client/authentication/basic.rb
haveapi-go-client-0.23.4 lib/haveapi/go_client/authentication/basic.rb
haveapi-go-client-0.23.3 lib/haveapi/go_client/authentication/basic.rb
haveapi-go-client-0.23.2 lib/haveapi/go_client/authentication/basic.rb
haveapi-go-client-0.23.1 lib/haveapi/go_client/authentication/basic.rb
haveapi-go-client-0.23.0 lib/haveapi/go_client/authentication/basic.rb
haveapi-go-client-0.22.1 lib/haveapi/go_client/authentication/basic.rb
haveapi-go-client-0.22.0 lib/haveapi/go_client/authentication/basic.rb
haveapi-go-client-0.21.1 lib/haveapi/go_client/authentication/basic.rb
haveapi-go-client-0.21.0 lib/haveapi/go_client/authentication/basic.rb