Sha256: 2dd5f28b6933f03b71684c28b024f218b00872c1bfb6362ee1469d97dbda517b

Contents?: true

Size: 313 Bytes

Versions: 34

Compression:

Stored size: 313 Bytes

Contents

require "cobrato/resources/hooks"

module Cobrato
  module Resources
    class RegressCnab < Base
      crud :create, :show, :list, :destroy

      def file(id)
        http.get("#{resource_base_path}/#{id}/file") do |response|
          respond_with_openstruct(response)
        end
      end

    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
cobrato-client-0.23.0.beta3 lib/cobrato/resources/regress_cnab.rb
cobrato-client-0.23.0.beta2 lib/cobrato/resources/regress_cnab.rb
cobrato-client-0.23.0.beta1 lib/cobrato/resources/regress_cnab.rb
cobrato-client-0.22.0 lib/cobrato/resources/regress_cnab.rb
cobrato-client-0.21.0 lib/cobrato/resources/regress_cnab.rb
cobrato-client-0.20.0 lib/cobrato/resources/regress_cnab.rb
cobrato-client-0.19.0 lib/cobrato/resources/regress_cnab.rb
cobrato-client-0.18.0 lib/cobrato/resources/regress_cnab.rb
cobrato-client-0.17.0 lib/cobrato/resources/regress_cnab.rb
cobrato-client-0.16.0 lib/cobrato/resources/regress_cnab.rb
cobrato-client-0.15.0 lib/cobrato/resources/regress_cnab.rb
cobrato-client-0.14.0 lib/cobrato/resources/regress_cnab.rb
cobrato-client-0.13.0 lib/cobrato/resources/regress_cnab.rb
cobrato-client-0.12.0 lib/cobrato/resources/regress_cnab.rb
cobrato-client-0.11.0 lib/cobrato/resources/regress_cnab.rb
cobrato-client-0.10.0 lib/cobrato/resources/regress_cnab.rb
cobrato-client-0.9.1 lib/cobrato/resources/regress_cnab.rb
cobrato-client-0.9.0 lib/cobrato/resources/regress_cnab.rb
cobrato-client-0.8.0 lib/cobrato/resources/regress_cnab.rb
cobrato-client-0.7.0 lib/cobrato/resources/regress_cnab.rb