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.191 lib/files.com/models/public_ip_address.rb
files.com-1.0.190 lib/files.com/models/public_ip_address.rb
files.com-1.0.189 lib/files.com/models/public_ip_address.rb
files.com-1.0.188 lib/files.com/models/public_ip_address.rb
files.com-1.0.187 lib/files.com/models/public_ip_address.rb
files.com-1.0.186 lib/files.com/models/public_ip_address.rb
files.com-1.0.185 lib/files.com/models/public_ip_address.rb
files.com-1.0.184 lib/files.com/models/public_ip_address.rb
files.com-1.0.183 lib/files.com/models/public_ip_address.rb
files.com-1.0.182 lib/files.com/models/public_ip_address.rb
files.com-1.0.181 lib/files.com/models/public_ip_address.rb
files.com-1.0.180 lib/files.com/models/public_ip_address.rb
files.com-1.0.179 lib/files.com/models/public_ip_address.rb
files.com-1.0.178 lib/files.com/models/public_ip_address.rb
files.com-1.0.177 lib/files.com/models/public_ip_address.rb
files.com-1.0.176 lib/files.com/models/public_ip_address.rb
files.com-1.0.175 lib/files.com/models/public_ip_address.rb
files.com-1.0.174 lib/files.com/models/public_ip_address.rb
files.com-1.0.173 lib/files.com/models/public_ip_address.rb
files.com-1.0.172 lib/files.com/models/public_ip_address.rb