Sha256: 617eb05d131402c9464ec846fe844041aa6024c0c558afe648150c20a50613b2

Contents?: true

Size: 324 Bytes

Versions: 2

Compression:

Stored size: 324 Bytes

Contents

module Noip
  class Agent

    def user_agent
      "#{update_program}/#{version_number} #{maintainer_email}"
    end

  private

    def update_program
      "noip ruby gem"
    end

    def version_number
      "v#{Noip::VERSION}"
    end

    def maintainer_email
      "anthony.noip_gem@asellitt.com"
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
noip-0.2 lib/noip/agent.rb
noip-0.1 lib/noip/agent.rb