Class: DNApi::Components::Addons::Addon

Inherits:
Struct
  • Object
show all
Defined in:
lib/dnapi/components/addons.rb

Instance Attribute Summary collapse

Attributes inherited from Struct

#parent

Method Summary

Methods inherited from Struct

#==, _many, #_many, #_many_values, _ones, #_ones, #_ones_values, _umembers, belongs_to, from, #initialize, #inspect, many, map, one, #to_hash, #umember_inspect, unserialized_member

Methods included from Test::Ext

#default_fauxture_name, #fixture, #generate, #generate_attributes, #pick

Constructor Details

This class inherits a constructor from DNApi::Struct

Instance Attribute Details

#configObject

Returns the value of attribute config

Returns:

  • (Object)

    the current value of config



22
23
24
# File 'lib/dnapi/components/addons.rb', line 22

def config
  @config
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



22
23
24
# File 'lib/dnapi/components/addons.rb', line 22

def name
  @name
end