Sha256: afd219ac9fbff660ffde09cb2261cc5a0f2669fb024316ff3a4554be84d48878

Contents?: true

Size: 320 Bytes

Versions: 3

Compression:

Stored size: 320 Bytes

Contents

require 'rails_autoscale_agent/version'

module RailsAutoscaleAgent
  class Registration < Struct.new(:config)

    def to_params
      {
        dyno: config.dyno,
        pid: config.pid,
        ruby_version: RUBY_VERSION,
        rails_version: Rails.version,
        gem_version: VERSION,
      }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_autoscale_agent-0.3.1 lib/rails_autoscale_agent/registration.rb
rails_autoscale_agent-0.3.0 lib/rails_autoscale_agent/registration.rb
rails_autoscale_agent-0.2.0 lib/rails_autoscale_agent/registration.rb