lib/trupanion/client.rb in trupanion-0.1.1 vs lib/trupanion/client.rb in trupanion-0.1.2
- old
+ new
@@ -1,9 +1,10 @@
require "trupanion/authentication_headers"
require "trupanion/api/breeds"
require "trupanion/api/quotes"
+require "trupanion/api/policies"
module Trupanion
class Client
API_BASE = "https://api.trupanion.com".freeze
SANDBOX_API_BASE = "https://sandbox.api.trupanion.com".freeze
@@ -37,9 +38,11 @@
end
def breeds; API::Breeds.new(self); end
def quotes; API::Quotes.new(self); end
+
+ def policies; API::Policies.new(self); end
private
attr_reader :sandbox