Class: DataCatalog::ImporterFramework::Pusher
- Inherits:
-
Object
- Object
- DataCatalog::ImporterFramework::Pusher
- Includes:
- Shared
- Defined in:
- lib/pusher.rb
Constant Summary collapse
- REQUIRED =
%w(api_key base_uri cache_folder)
- LOOKUP_KEYS =
These keys should not be passed along directly; they need to be examined so that real ID’s can be passed along instead.
[:organization, :downloads]
Instance Method Summary collapse
-
#initialize(options) ⇒ Pusher
constructor
A new instance of Pusher.
- #run ⇒ Object
Methods included from Shared
Constructor Details
Instance Method Details
#run ⇒ Object
24 25 26 27 28 29 30 31 32 |
# File 'lib/pusher.rb', line 24 def run setup_api Utility.report_timing "push organizations" do push_organizations end Utility.report_timing "push sources" do push_sources end end |