Exception: CFoundry::InvalidTarget
- Defined in:
- lib/cfoundry/errors.rb
Instance Attribute Summary collapse
-
#target ⇒ Object
readonly
Returns the value of attribute target.
Instance Method Summary collapse
-
#initialize(target) ⇒ InvalidTarget
constructor
A new instance of InvalidTarget.
- #to_s ⇒ Object
Constructor Details
#initialize(target) ⇒ InvalidTarget
Returns a new instance of InvalidTarget.
27 28 29 |
# File 'lib/cfoundry/errors.rb', line 27 def initialize(target) @target = target end |
Instance Attribute Details
#target ⇒ Object (readonly)
Returns the value of attribute target.
25 26 27 |
# File 'lib/cfoundry/errors.rb', line 25 def target @target end |
Instance Method Details
#to_s ⇒ Object
31 32 33 |
# File 'lib/cfoundry/errors.rb', line 31 def to_s "Invalid target URI: #{@target}" end |