Sha256: 9b9aae23217031d25f48c59f4156444427b1d053002d535fd7f2842493e3f1e2

Contents?: true

Size: 492 Bytes

Versions: 3

Compression:

Stored size: 492 Bytes

Contents

class Ey::Core::Client::LoadBalancerService < Ey::Core::Model
  extend Ey::Core::Associations

  identity :id

  attribute :name
  attribute :deleted_at, type: :time
  attribute :provisioner_id
  attribute :internal_port
  attribute :external_port
  attribute :internal_protocol
  attribute :external_protocol

  has_one :load_balancer, aliases: "nodes"
  has_one :provider_ssl_certificate

  has_many :load_balancer_nodes

  def nodes
    load_balancer_nodes
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ey-core-3.6.6 lib/ey-core/models/load_balancer_service.rb
ey-core-3.4.5 lib/ey-core/models/load_balancer_service.rb
ey-core-3.6.5 lib/ey-core/models/load_balancer_service.rb