Class: Journey::Configuration

Inherits:
Object
  • Object
show all
Includes:
ActiveAttr::Attributes, ActiveAttr::MassAssignment
Defined in:
lib/journey/configuration.rb

Instance Method Summary collapse

Instance Method Details

#propagate!Object



13
14
15
16
17
18
19
# File 'lib/journey/configuration.rb', line 13

def propagate!
  (Resource.descendants << Resource).each do |r|
    r.site = api_site
    r.user = api_user
    r.password = api_password
  end
end