Sha256: e18ce8a0aaba74a00be42efdab7ac0de2151970ccb292aaec0cd2065e2ee246c

Contents?: true

Size: 280 Bytes

Versions: 9

Compression:

Stored size: 280 Bytes

Contents

module ChartMogul
  module API
    module Actions
      module Destroy
        def destroy!
          handling_errors do
            connection.delete("#{resource_path.apply(self.instance_attributes)}/#{uuid}")
          end
          true
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
chartmogul-ruby-1.1.1 lib/chartmogul/api/actions/destroy.rb
chartmogul-ruby-1.1.0 lib/chartmogul/api/actions/destroy.rb
chartmogul-ruby-1.0.2 lib/chartmogul/api/actions/destroy.rb
chartmogul-ruby-1.0.1 lib/chartmogul/api/actions/destroy.rb
chartmogul-ruby-1.0.0 lib/chartmogul/api/actions/destroy.rb
chartmogul-ruby-0.1.4 lib/chartmogul/api/actions/destroy.rb
chartmogul-ruby-0.1.3 lib/chartmogul/api/actions/destroy.rb
chartmogul-ruby-0.1.2 lib/chartmogul/api/actions/destroy.rb
chartmogul-ruby-0.1.1 lib/chartmogul/api/actions/destroy.rb