lib/passworks/client.rb in passworks-2.0.6 vs lib/passworks/client.rb in passworks-2.0.7

- old
+ new

@@ -33,10 +33,10 @@ # Allows to to access the Coupons API # @return [Passworks::RequestProxy] # @!method generics # Allows to to access the Generic API # @return [Passworks::RequestProxy] - %w(certificates assets boarding_passes store_cards coupons event_tickets generics).each do |collection_name| + %w(certificates assets templates boarding_passes store_cards coupons event_tickets generics).each do |collection_name| define_method(collection_name) do Passworks::RequestProxy.new(self, collection_name, nil) end end \ No newline at end of file