Class: ChartMogul::Import::Plan
- Inherits:
-
Object
- Object
- ChartMogul::Import::Plan
- Defined in:
- lib/chart_mogul/import/plan.rb
Instance Attribute Summary collapse
-
#data_source_uuid ⇒ Object
readonly
Returns the value of attribute data_source_uuid.
-
#external_id ⇒ Object
readonly
Returns the value of attribute external_id.
-
#interval_count ⇒ Object
readonly
Returns the value of attribute interval_count.
-
#interval_unit ⇒ Object
readonly
Returns the value of attribute interval_unit.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#uuid ⇒ Object
readonly
Returns the value of attribute uuid.
Instance Method Summary collapse
-
#initialize(args) ⇒ Plan
constructor
A new instance of Plan.
Constructor Details
#initialize(args) ⇒ Plan
Returns a new instance of Plan.
13 14 15 16 17 |
# File 'lib/chart_mogul/import/plan.rb', line 13 def initialize(args) args.each_pair do |key, value| instance_variable_set("@#{key}", value) end end |
Instance Attribute Details
#data_source_uuid ⇒ Object (readonly)
Returns the value of attribute data_source_uuid.
6 7 8 |
# File 'lib/chart_mogul/import/plan.rb', line 6 def data_source_uuid @data_source_uuid end |
#external_id ⇒ Object (readonly)
Returns the value of attribute external_id.
11 12 13 |
# File 'lib/chart_mogul/import/plan.rb', line 11 def external_id @external_id end |
#interval_count ⇒ Object (readonly)
Returns the value of attribute interval_count.
8 9 10 |
# File 'lib/chart_mogul/import/plan.rb', line 8 def interval_count @interval_count end |
#interval_unit ⇒ Object (readonly)
Returns the value of attribute interval_unit.
9 10 11 |
# File 'lib/chart_mogul/import/plan.rb', line 9 def interval_unit @interval_unit end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/chart_mogul/import/plan.rb', line 7 def name @name end |
#uuid ⇒ Object (readonly)
Returns the value of attribute uuid.
5 6 7 |
# File 'lib/chart_mogul/import/plan.rb', line 5 def uuid @uuid end |