class Gifmagazine::Response
Public Class Methods
new(faraday_response)
click to toggle source
# File lib/gifmagazine/response.rb, line 3 def initialize(faraday_response) @header = faraday_response.headers @body = faraday_response.body @status = faraday_response.status end
Public Instance Methods
body()
click to toggle source
# File lib/gifmagazine/response.rb, line 9 def body @body end
headers()
click to toggle source
# File lib/gifmagazine/response.rb, line 13 def headers @header end
status()
click to toggle source
# File lib/gifmagazine/response.rb, line 17 def status @status end