class AdsCommon::Errors::MissingPropertyError
Raised if a required property on an object is missing.
Attributes
object_type[R]
property[R]
Public Class Methods
new(property, object_type)
click to toggle source
# File lib/ads_common/errors.rb, line 63 def initialize(property, object_type) @property, @object_type = property, object_type end
Public Instance Methods
to_s()
click to toggle source
Calls superclass method
# File lib/ads_common/errors.rb, line 66 def to_s() return "%s: name: %s, type: %s" % [super, @property, @object_type] end