Sha256: b9b8920ca8f14aafe56734e397f45a892414bf7acb6dcc2a22961287bf9ef071

Contents?: true

Size: 449 Bytes

Versions: 124

Compression:

Stored size: 449 Bytes

Contents

# frozen_string_literal: true

module Files
  class PublicIpAddress
    attr_reader :options, :attributes

    def initialize(attributes = {}, options = {})
      @attributes = attributes || {}
      @options = options || {}
    end

    # string - The public IP address.
    def ip_address
      @attributes[:ip_address]
    end

    # string - The name of the frontend server.
    def server_name
      @attributes[:server_name]
    end
  end
end

Version data entries

124 entries across 124 versions & 1 rubygems

Version Path
files.com-1.0.151 lib/files.com/models/public_ip_address.rb
files.com-1.0.150 lib/files.com/models/public_ip_address.rb
files.com-1.0.149 lib/files.com/models/public_ip_address.rb
files.com-1.0.148 lib/files.com/models/public_ip_address.rb
files.com-1.0.147 lib/files.com/models/public_ip_address.rb
files.com-1.0.146 lib/files.com/models/public_ip_address.rb
files.com-1.0.145 lib/files.com/models/public_ip_address.rb
files.com-1.0.144 lib/files.com/models/public_ip_address.rb
files.com-1.0.143 lib/files.com/models/public_ip_address.rb
files.com-1.0.142 lib/files.com/models/public_ip_address.rb
files.com-1.0.141 lib/files.com/models/public_ip_address.rb
files.com-1.0.140 lib/files.com/models/public_ip_address.rb
files.com-1.0.139 lib/files.com/models/public_ip_address.rb
files.com-1.0.138 lib/files.com/models/public_ip_address.rb
files.com-1.0.137 lib/files.com/models/public_ip_address.rb
files.com-1.0.136 lib/files.com/models/public_ip_address.rb
files.com-1.0.135 lib/files.com/models/public_ip_address.rb
files.com-1.0.134 lib/files.com/models/public_ip_address.rb
files.com-1.0.133 lib/files.com/models/public_ip_address.rb
files.com-1.0.132 lib/files.com/models/public_ip_address.rb