class CslCli::Request::Get
Attributes
code[R]
response[R]
Public Class Methods
new(url, headers)
click to toggle source
# File lib/csl_cli/request.rb, line 23 def initialize(url, headers) @response = HTTParty.get(url, headers: headers) @code = @response.code end