Sha256: 4fa94a82d4e9956a692fa1b00dce501e01c7658dce0a87a7ec8107521b975f44
Contents?: true
Size: 350 Bytes
Versions: 1
Compression:
Stored size: 350 Bytes
Contents
module Notifications class Client class TemplateCollection attr_reader :collection def initialize(response) @collection = collection_from(response["templates"]) end def collection_from(templates) templates.map do |template| Template.new(template) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
notifications-ruby-client-2.1.0 | lib/notifications/client/template_collection.rb |