class SigfoxApi::Response

Public Class Methods

new(faraday_response) click to toggle source
# File lib/sigfox_api/response.rb, line 5
def initialize(faraday_response)
  @row_status = faraday_response.status
  @row_body = faraday_response.body
end

Public Instance Methods

body() click to toggle source
# File lib/sigfox_api/response.rb, line 14
def body
  @row_body
end
status() click to toggle source
# File lib/sigfox_api/response.rb, line 10
def status
  @row_status
end