Sha256: 4210b21390740280f3c8bb8fed2727caa26ecdc7c09101f4572f7d8f4c9d4c3a
Contents?: true
Size: 249 Bytes
Versions: 2
Compression:
Stored size: 249 Bytes
Contents
module Glare class ApiResponse def initialize(response) @response = response end def result content['result'] end private def content @response.content end end private_constant :ApiResponse end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
glare-0.3.0 | lib/glare/api_response.rb |
glare-0.1.2 | lib/glare/api_response.rb |