Sha256: 2311739f490463315251a93477616767aed4dedd09bf459b8619b45dec305bc5

Contents?: true

Size: 249 Bytes

Versions: 6

Compression:

Stored size: 249 Bytes

Contents

# encoding: utf-8

require 'faraday'

module Github
  class Response::Helpers < Response

    def on_complete(env)
      env[:body].extend(Github::Result)
      env[:body].instance_eval { @env = env }
    end

  end # Response::Helpers
end # Github

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
github_api-0.3.9 lib/github_api/response/helpers.rb
github_api-0.3.8 lib/github_api/response/helpers.rb
github_api-0.3.7 lib/github_api/response/helpers.rb
github_api-0.3.6 lib/github_api/response/helpers.rb
github_api-0.3.4 lib/github_api/response/helpers.rb
github_api-0.3.3 lib/github_api/response/helpers.rb