module Trupanion module API class Quotes def initialize(client) @client = client end def generate(payload) client.post("/v1/quotes", body: payload).body end private attr_reader :client end end end