Sha256: 2b0bc50c1ecb9a0fd32763edcfcbcb5a513f813a809a0c4e82d9616b5c30bf2a

Contents?: true

Size: 264 Bytes

Versions: 3

Compression:

Stored size: 264 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
trupanion-0.1.2 lib/trupanion/api/quotes.rb
trupanion-0.1.1 lib/trupanion/api/quotes.rb
trupanion-0.1.0 lib/trupanion/api/quotes.rb