Sha256: b79debb3332695ef639a405b48716c3592c741d490b3c62280108ca5056f4cf5

Contents?: true

Size: 315 Bytes

Versions: 1

Compression:

Stored size: 315 Bytes

Contents

module LinkedIn
  class Response
    attr_reader :_response, :_body

    def initialize(response)
      @_response = response
      @_body = response.body
    end

    def _status
      _response.status
    end

    def method_missing(method, *args, &block)
      _body.send method, *args, &block
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
linkedin2-0.0.19 lib/linkedin/response.rb