Sha256: 87fa00e7e5ddaeee851d410a4aee9f9afb48add8ca9fc9dbce1f2ca49093ac44
Contents?: true
Size: 775 Bytes
Versions: 25
Compression:
Stored size: 775 Bytes
Contents
# frozen_string_literal: true module ChartMogul class DataSource < APIResource set_resource_name 'Data Source' set_resource_path '/v1/data_sources' readonly_attr :uuid readonly_attr :status readonly_attr :system readonly_attr :created_at, type: :time writeable_attr :name include API::Actions::All include API::Actions::Create include API::Actions::Custom include API::Actions::Destroy include API::Actions::Retrieve def self.all(options = {}) DataSources.all(options) end end class DataSources < APIResource set_resource_name 'Data Sources' set_resource_path '/v1/data_sources' set_resource_root_key :data_sources include Concerns::Entries set_entry_class DataSource end end
Version data entries
25 entries across 25 versions & 1 rubygems