Sha256: 68d9e3e9d2f310881ca16055857b0858668a1c99b931f4ca42cde0ca64f6b1c1
Contents?: true
Size: 309 Bytes
Versions: 1
Compression:
Stored size: 309 Bytes
Contents
# frozen_string_literal: true module GistUpdater class ContentFactory def self.build(user, access_token, config, content_class = Content) content_class.new( user: user, access_token: access_token, gist_id: config[0], file_name: config[1] ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gist_updater-0.1.0 | lib/gist_updater/content_factory.rb |