Sha256: 45fe402a0d6e247074a474d88c31eaa5aeae9e2cdf40aa3102a2eced8dcf56a5

Contents?: true

Size: 278 Bytes

Versions: 1

Compression:

Stored size: 278 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trupanion-0.1.2 lib/trupanion/api/policies.rb