Sha256: 34c6a799b779b5a0d7a30f5d5e3f44b54bae41357bf8d12e76301eb2049d32f5

Contents?: true

Size: 449 Bytes

Versions: 4

Compression:

Stored size: 449 Bytes

Contents

module ChartMogul
  module Import
    class DataSource < APIResource
      set_resource_name 'Data Source'
      set_resource_path '/v1/import/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
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
chartmogul-ruby-0.1.4 lib/chartmogul/import/data_source.rb
chartmogul-ruby-0.1.3 lib/chartmogul/import/data_source.rb
chartmogul-ruby-0.1.2 lib/chartmogul/import/data_source.rb
chartmogul-ruby-0.1.1 lib/chartmogul/import/data_source.rb