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.211 lib/files.com/models/public_ip_address.rb
files.com-1.0.210 lib/files.com/models/public_ip_address.rb
files.com-1.0.209 lib/files.com/models/public_ip_address.rb
files.com-1.0.208 lib/files.com/models/public_ip_address.rb
files.com-1.0.207 lib/files.com/models/public_ip_address.rb
files.com-1.0.206 lib/files.com/models/public_ip_address.rb
files.com-1.0.205 lib/files.com/models/public_ip_address.rb
files.com-1.0.204 lib/files.com/models/public_ip_address.rb
files.com-1.0.203 lib/files.com/models/public_ip_address.rb
files.com-1.0.202 lib/files.com/models/public_ip_address.rb
files.com-1.0.201 lib/files.com/models/public_ip_address.rb
files.com-1.0.200 lib/files.com/models/public_ip_address.rb
files.com-1.0.199 lib/files.com/models/public_ip_address.rb
files.com-1.0.198 lib/files.com/models/public_ip_address.rb
files.com-1.0.197 lib/files.com/models/public_ip_address.rb
files.com-1.0.196 lib/files.com/models/public_ip_address.rb
files.com-1.0.195 lib/files.com/models/public_ip_address.rb
files.com-1.0.194 lib/files.com/models/public_ip_address.rb
files.com-1.0.193 lib/files.com/models/public_ip_address.rb
files.com-1.0.192 lib/files.com/models/public_ip_address.rb