Sha256: b0c8aa3c991facd2bfbf88fddd35c39ecc1d50db550680dc6d96acd3362103d3

Contents?: true

Size: 329 Bytes

Versions: 2

Compression:

Stored size: 329 Bytes

Contents

module Azure
  module ServiceRuntime
    class RoleInstanceEndpoint
      attr_accessor :name, :address, :port, :protocol

      def initialize(node)
        self.name = node["name"]
        self.address = node["address"]
        self.port = node["port"].to_i
        self.protocol = node["protocol"]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure-0.1.1 lib/azure/service_runtime/role_instance_endpoint.rb
azure-0.1.0 lib/azure/service_runtime/role_instance_endpoint.rb