Sha256: e4e3bb204570e57e9eae49ce1e4b5b13f3055c22741f46aa1d4ed615e27000fe

Contents?: true

Size: 389 Bytes

Versions: 3

Compression:

Stored size: 389 Bytes

Contents

module ChartMogul
  module Import
    class Plan

      attr_reader :uuid
      attr_reader :data_source_uuid
      attr_reader :name
      attr_reader :interval_count
      attr_reader :interval_unit

      attr_reader :external_id

      def initialize(args)
        args.each_pair do |key, value|
          instance_variable_set("@#{key}", value)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
chart_mogul-0.1.1 lib/chart_mogul/import/plan.rb
chart_mogul-0.1.0 lib/chart_mogul/import/plan.rb
chart_mogul-0.0.1 lib/chart_mogul/import/plan.rb