Class: DNApi::Components::Newrelic

Inherits:
Struct
  • Object
show all
Includes:
DNApi::Component
Defined in:
lib/dnapi/components/newrelic.rb

Instance Attribute Summary collapse

Attributes inherited from Struct

#parent

Method Summary

Methods included from DNApi::Component

[], #can_belong_to?, components, from, included, #key, #to_hash

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

#seedObject

Returns the value of attribute seed

Returns:

  • (Object)

    the current value of seed



3
4
5
# File 'lib/dnapi/components/newrelic.rb', line 3

def seed
  @seed
end

#tokenObject

Returns the value of attribute token

Returns:

  • (Object)

    the current value of token



3
4
5
# File 'lib/dnapi/components/newrelic.rb', line 3

def token
  @token
end