class EY::CloudClient::AttributeRequiredError
Public Class Methods
new(attribute_name, klass = nil)
click to toggle source
Calls superclass method
# File lib/engineyard-cloud-client/errors.rb, line 21 def initialize(attribute_name, klass = nil) if klass super "Attribute '#{attribute_name}' of class #{klass} is required for this action." else super "Attribute '#{attribute_name}' is required for this action." end end