class Seaweed::HTTP

Public Class Methods

configure(http: RestClient, json: JSON) click to toggle source
# File lib/seaweed/http.rb, line 9
def configure(http: RestClient, json: JSON)
  @http = http
  @json = json
end
parse(json) click to toggle source
# File lib/seaweed/http.rb, line 14
def parse(json)
  @json.parse json, symbolize_names: true
end