Class: Phill

Inherits:
Object
  • Object
show all
Extended by:
Configurable
Defined in:
lib/phill.rb,
lib/phill/version.rb

Defined Under Namespace

Modules: Configurable Classes: AwsClient, File, Location

Constant Summary collapse

VERSION =
'0.1.1'

Instance Attribute Summary

Attributes included from Configurable

#config

Class Method Summary collapse

Class Method Details

.locationsObject



14
15
16
# File 'lib/phill.rb', line 14

def locations
  @locations ||= config.locations.map { |l|  Location.new(l) }
end

.processObject



18
19
20
21
# File 'lib/phill.rb', line 18

def process
  locations.each(&:process)
  AwsClient.upload(locations)
end