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