Class: ChartMogul::DataSource

Inherits:
APIResource show all
Includes:
API::Actions::All, API::Actions::Create, API::Actions::Custom, API::Actions::Destroy, API::Actions::Retrieve
Defined in:
lib/chartmogul/data_source.rb

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

Methods included from API::Actions::Retrieve

included

Methods included from API::Actions::Destroy

#destroy!, included

Methods included from API::Actions::Custom

#custom!, #custom_without_assign!, included

Methods included from API::Actions::Create

#create!, included

Methods included from API::Actions::All

included

Methods inherited from APIResource

connection, handle_other_error, handle_request_error, handling_errors, set_resource_name, set_resource_path, set_resource_root_key, set_skip_case_conversion

Methods inherited from Object

#allowed_for_write?, #assign_all_attributes, #assign_writeable_attributes, attributes, define_private_writer, define_reader, define_writer, #initialize, #instance_attributes, new_from_json, readonly_attr, #serialize_for_write, #serialized_value_for_attr, writeable_attr, writeable_attributes

Constructor Details

This class inherits a constructor from ChartMogul::Object

Class Method Details

.all(options = {}) ⇒ Object



21
22
23
# File 'lib/chartmogul/data_source.rb', line 21

def self.all(options = {})
  DataSources.all(options)
end