Sha256: b4c9fa54b87bef69d629e5dc1a079b958c8e53515fb0e3dc5d6a1578d10b6009

Contents?: true

Size: 799 Bytes

Versions: 44

Compression:

Stored size: 799 Bytes

Contents

module CertificateHelper
  def linkedin_post_url(certificate)
    URI::HTTPS.build host: 'www.linkedin.com',
                     path: '/profile/add',
                     query: Rack::Utils.build_query(startTask: 'CERTIFICATION_NAME',
                                                    name: certificate.title,
                                                    organizationId: ENV['MUMUKI_LINKEDIN_ORGANIZATION_ID'],
                                                    issueYear: certificate.created_at.year,
                                                    issueMonth: certificate.created_at.month,
                                                    certUrl: verify_certificate_url(certificate.code),
                                                    certId: certificate.code)
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
mumuki-laboratory-9.23.0 app/helpers/certificate_helper.rb
mumuki-laboratory-9.22.0 app/helpers/certificate_helper.rb
mumuki-laboratory-9.21.0 app/helpers/certificate_helper.rb
mumuki-laboratory-9.20.1 app/helpers/certificate_helper.rb
mumuki-laboratory-9.20.0 app/helpers/certificate_helper.rb
mumuki-laboratory-9.19.0 app/helpers/certificate_helper.rb
mumuki-laboratory-9.18.1 app/helpers/certificate_helper.rb
mumuki-laboratory-9.18.0 app/helpers/certificate_helper.rb
mumuki-laboratory-9.17.0 app/helpers/certificate_helper.rb
mumuki-laboratory-9.16.0 app/helpers/certificate_helper.rb
mumuki-laboratory-9.15.0 app/helpers/certificate_helper.rb
mumuki-laboratory-9.14.1 app/helpers/certificate_helper.rb
mumuki-laboratory-9.14.0 app/helpers/certificate_helper.rb
mumuki-laboratory-9.13.2 app/helpers/certificate_helper.rb
mumuki-laboratory-9.13.1 app/helpers/certificate_helper.rb
mumuki-laboratory-9.13.0 app/helpers/certificate_helper.rb
mumuki-laboratory-9.12.1 app/helpers/certificate_helper.rb
mumuki-laboratory-9.12.0 app/helpers/certificate_helper.rb
mumuki-laboratory-9.11.0 app/helpers/certificate_helper.rb
mumuki-laboratory-9.10.0 app/helpers/certificate_helper.rb