Method: Chef::DataBagItem#initialize

Defined in:
lib/chef/data_bag_item.rb

#initialize(chef_server_rest: nil) ⇒ DataBagItem

Create a new Chef::DataBagItem



62
63
64
65
66
# File 'lib/chef/data_bag_item.rb', line 62

def initialize(chef_server_rest: nil)
  @data_bag = nil
  @raw_data = Mash.new
  @chef_server_rest = chef_server_rest
end