Class: ChartMogul::PlanGroup
- Inherits:
-
APIResource
- Object
- Object
- APIResource
- ChartMogul::PlanGroup
- Defined in:
- lib/chartmogul/plan_group.rb
Defined Under Namespace
Classes: PlanGroups
Constant Summary
Constants inherited from APIResource
APIResource::BACKOFF_FACTOR, APIResource::INTERVAL, APIResource::INTERVAL_RANDOMNESS, APIResource::MAX_INTERVAL, APIResource::RETRY_EXCEPTIONS, APIResource::RETRY_STATUSES, APIResource::THREAD_CONNECTION_KEY
Class Method Summary collapse
Instance Method Summary collapse
Methods included from API::Actions::Update
Methods included from API::Actions::Retrieve
Methods included from API::Actions::Destroy
Methods included from API::Actions::Create
Methods inherited from APIResource
build_connection, build_query_path, connection, custom_with_query_params!, #custom_with_query_params!, extract_query_params, #extract_query_params, handle_other_error, handle_request_error, handling_errors, immutable_keys, json_patch, json_post, json_put, #path_with_query_params, query_params, set_immutable_keys, set_resource_name, set_resource_path, set_resource_root_key, writeable_query_param
Class Method Details
.all(options = {}) ⇒ Object
19 20 21 |
# File 'lib/chartmogul/plan_group.rb', line 19 def self.all( = {}) PlanGroups.all() end |
Instance Method Details
#serialize_plans ⇒ Object
23 24 25 |
# File 'lib/chartmogul/plan_group.rb', line 23 def serialize_plans plans.map(&:uuid) end |