Sha256: 24b1cc18c7c30dd9da1232825043ac29d191ba74175fb356e45ba583453e81e8

Contents?: true

Size: 381 Bytes

Versions: 20

Compression:

Stored size: 381 Bytes

Contents

# encoding: utf-8

require 'faraday'

module BitBucket
  class Response::Helpers < Response

    def on_complete(env)
      env[:body].class.class_eval <<-RUBY_EVAL, __FILE__, __LINE__ + 1
        include BitBucket::Result

        def env
          @env
        end

      RUBY_EVAL
      env[:body].instance_eval { @env = env }
    end

  end # Response::Helpers
end # BitBucket

Version data entries

20 entries across 20 versions & 5 rubygems

Version Path
codenamev_bitbucket_api-0.4.1 lib/bitbucket_rest_api/response/helpers.rb
codenamev_bitbucket_api-0.4.0 lib/bitbucket_rest_api/response/helpers.rb
zz_bitbucket_rest_api-0.1.11 lib/bitbucket_rest_api/response/helpers.rb
zz_bitbucket_rest_api-0.1.10 lib/bitbucket_rest_api/response/helpers.rb
zz_bitbucket_rest_api-0.1.9 lib/bitbucket_rest_api/response/helpers.rb
zz_bitbucket_rest_api-0.1.8 lib/bitbucket_rest_api/response/helpers.rb
bitbucket_rest_api2-0.9.1 lib/bitbucket_rest_api/response/helpers.rb
bitbucket_rest_api2-0.2.2 lib/bitbucket_rest_api/response/helpers.rb
bitbucket_rest_api2-0.2.1 lib/bitbucket_rest_api/response/helpers.rb
bitbucket_rest_api2-0.2.0 lib/bitbucket_rest_api/response/helpers.rb
bitbucket_rest_api-0.1.7 lib/bitbucket_rest_api/response/helpers.rb
reenhanced_bitbucket_api-0.3.2 lib/bitbucket_rest_api/response/helpers.rb
reenhanced_bitbucket_api-0.3.1 lib/bitbucket_rest_api/response/helpers.rb
reenhanced_bitbucket_api-0.3.0 lib/bitbucket_rest_api/response/helpers.rb
reenhanced_bitbucket_api-0.1.6 lib/bitbucket_rest_api/response/helpers.rb
bitbucket_rest_api-0.1.5 lib/bitbucket_rest_api/response/helpers.rb
bitbucket_rest_api-0.1.4 lib/bitbucket_rest_api/response/helpers.rb
bitbucket_rest_api-0.1.2 lib/bitbucket_rest_api/response/helpers.rb
bitbucket_rest_api-0.1.1 lib/bitbucket_rest_api/response/helpers.rb
bitbucket_rest_api-0.1.0 lib/bitbucket_rest_api/response/helpers.rb