class MotherBrain::DataBagItemNotFound

Attributes

data_bag_name[R]
item_name[R]

Public Class Methods

new(data_bag_name, item_name) click to toggle source
# File lib/mb/errors.rb, line 655
def initialize(data_bag_name, item_name)
  @data_bag_name = data_bag_name
  @item_name     = item_name
end

Public Instance Methods

message() click to toggle source
# File lib/mb/errors.rb, line 660
def message
  "An item named '#{item_name}' was not found in the '#{data_bag_name}' data bag."
end