    # File lib/chef/data_bag_item.rb, line 193
        def self.load(data_bag, name)
          if Chef::Config[:solo]
            bag = Chef::DataBag.load(data_bag)
            item = bag[name]
          else
            item = Chef::REST.new(Chef::Config[:chef_server_url]).get_rest("data/#{data_bag}/#{name}")
          end

          if item.kind_of?(DataBagItem)
            item
          else
            item = from_hash(item)
            item.data_bag(data_bag)
            item
          end
        end