Class: LucidHttp::Client
- Inherits:
-
Object
- Object
- LucidHttp::Client
- Defined in:
- lib/lucid_http.rb
Instance Method Summary collapse
- #base_url ⇒ Object
- #do_verb(verb:, path:, formatter:, follower:, form:) ⇒ Object
-
#initialize(base_url: ENV.fetch("LUCID_HTTP_BASE_URL")) ⇒ Client
constructor
A new instance of Client.
Constructor Details
Instance Method Details
#do_verb(verb:, path:, formatter:, follower:, form:) ⇒ Object
39 40 41 42 43 44 45 |
# File 'lib/lucid_http.rb', line 39 def do_verb(verb:, path:, formatter:, follower:, form:) LucidHttp::Response.new( base_url: base_url, path: path, verb: verb, formatter: formatter, follower: follower, form: form, ) end |