lib/chartmogul/v1/import.rb in chartmogul_client-0.0.5 vs lib/chartmogul/v1/import.rb in chartmogul_client-0.0.6
- old
+ new
@@ -15,11 +15,19 @@
# Returns the instance of Chartmogul::V1::Import::Plans.
def plans
Chartmogul::V1::Import::Plans.new(client)
end
+ # Public: Get subscriptions API.
+ #
+ # Returns the instance of Chartmogul::V1::Import::Subscriptions.
+ def subscriptions
+ Chartmogul::V1::Import::Subscriptions.new(client)
+ end
+
end
end
end
require 'chartmogul/v1/import/customers'
require 'chartmogul/v1/import/plans'
+require 'chartmogul/v1/import/subscriptions'