Sha256: 0d57071aa356cc20f836c692da5cbfa1b56513f3960e088393f83b063fd78c42
Contents?: true
Size: 514 Bytes
Versions: 2
Compression:
Stored size: 514 Bytes
Contents
module ChartMogul class DataSource < APIResource set_resource_name 'Data Source' set_resource_path '/v1/data_sources' set_resource_root_key :data_sources readonly_attr :uuid readonly_attr :status 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 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chartmogul-ruby-1.0.1 | lib/chartmogul/data_source.rb |
chartmogul-ruby-1.0.0 | lib/chartmogul/data_source.rb |