Sha256: ac331c4eb842203c16c19660b4ddf958768f76838c16ec1c128a7d939741cb38
Contents?: true
Size: 795 Bytes
Versions: 2
Compression:
Stored size: 795 Bytes
Contents
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::Destroy include API::Actions::Custom def self.retrieve(uuid) custom!(:get, "/v1/data_sources/#{uuid}") end 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chartmogul-ruby-1.1.1 | lib/chartmogul/data_source.rb |
chartmogul-ruby-1.1.0 | lib/chartmogul/data_source.rb |