Exception: PipeLineDealer::Error::NoSuchCustomField

Inherits:
PipeLineDealer::Error show all
Defined in:
lib/pipe_line_dealer/error/no_such_custom_field.rb

Instance Attribute Summary collapse

Attributes inherited from PipeLineDealer::Error

#message

Instance Method Summary collapse

Methods inherited from PipeLineDealer::Error

#to_s

Constructor Details

#initialize(name) ⇒ NoSuchCustomField

Returns a new instance of NoSuchCustomField.



6
7
8
9
# File 'lib/pipe_line_dealer/error/no_such_custom_field.rb', line 6

def initialize(name)
  @name = name
  @message = "Could not find a custom field with the name #{name.inspect}"
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



4
5
6
# File 'lib/pipe_line_dealer/error/no_such_custom_field.rb', line 4

def name
  @name
end