class EC2::Common::HTTP::Error::Redirect

Attributes

code[RW]
endpoint[RW]

Public Class Methods

new(code, endpoint) click to toggle source
Calls superclass method EC2::Common::HTTP::Error::new
# File lib/ec2/common/http.rb, line 61
def initialize(code, endpoint)
  super("Redirected (#{code}) to new endpoint: #{endpoint}")
  @code = code
  @endpoint = endpoint
end