Sha256: a1432b5a4d45aafb370257ddfdea8ddd159384d8ea5511f4bd3255ff29381fcf

Contents?: true

Size: 242 Bytes

Versions: 1

Compression:

Stored size: 242 Bytes

Contents

module REST
  class Client

    class << self
      attr_accessor :target,
                    :port
    end

    def after_initialize
      return unless new_record?
      self.target = "0.0.0.0"
      self.port   = "8080"
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
clone-1.0.0.beta samples/rest_client/init/config/rest_client/defaults.rb