lib/chartmogul/v1/import.rb in chartmogul_client-0.0.4 vs lib/chartmogul/v1/import.rb in chartmogul_client-0.0.5
- old
+ new
@@ -8,10 +8,18 @@
# Returns the instance of Chartmogul::V1::Import::Customers.
def customers
Chartmogul::V1::Import::Customers.new(client)
end
+ # Public: Get plans API.
+ #
+ # Returns the instance of Chartmogul::V1::Import::Plans.
+ def plans
+ Chartmogul::V1::Import::Plans.new(client)
+ end
+
end
end
end
require 'chartmogul/v1/import/customers'
+require 'chartmogul/v1/import/plans'