Class: Spice::DataBag

Inherits:
Base
  • Object
show all
Defined in:
lib/spice/data_bag.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#attrs

Method Summary

Methods inherited from Base

#[], attr_reader, get, get_or_new, #id, identity_map, #initialize, #keys, #update

Constructor Details

This class inherits a constructor from Spice::Base

Instance Attribute Details

#itemsObject (readonly)

Returns the value of attribute items


5
6
7
# File 'lib/spice/data_bag.rb', line 5

def items
  @items
end

#nameObject (readonly)

Returns the value of attribute name


5
6
7
# File 'lib/spice/data_bag.rb', line 5

def name
  @name
end