Class: ChartMogul::Import::Plan

Inherits:
Object
  • Object
show all
Defined in:
lib/chart_mogul/import/plan.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_uuidObject (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_idObject (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_countObject (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_unitObject (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

#nameObject (readonly)

Returns the value of attribute name.



7
8
9
# File 'lib/chart_mogul/import/plan.rb', line 7

def name
  @name
end

#uuidObject (readonly)

Returns the value of attribute uuid.



5
6
7
# File 'lib/chart_mogul/import/plan.rb', line 5

def uuid
  @uuid
end