Exception: Abiquo::NotAllowed
Instance Method Summary collapse
-
#initialize(method, url) ⇒ NotAllowed
constructor
A new instance of NotAllowed.
- #message ⇒ Object
Constructor Details
#initialize(method, url) ⇒ NotAllowed
Returns a new instance of NotAllowed.
11 12 13 14 |
# File 'lib/abiquo.rb', line 11 def initialize(method, url) @method = method @url = url end |
Instance Method Details
#message ⇒ Object
16 17 18 |
# File 'lib/abiquo.rb', line 16 def "Method #{@method} not allowed for #{@url}" end |