Class: QuickTravel::Client

Inherits:
Adapter
  • Object
show all
Includes:
InitFromHash
Defined in:
lib/quick_travel/client.rb

Instance Method Summary collapse

Methods included from InitFromHash

#define_readers, #initialize, #to_hash

Methods inherited from Adapter

all, belongs_to, create, find, has_many, #to_s, update

Instance Method Details

#templatesObject



11
12
13
# File 'lib/quick_travel/client.rb', line 11

def templates
  get_and_validate("/api/clients/#{id}/templates")
end