Sha256: 00f2aa846c8ee6fa34db47eb08f02434229c876a67fce6f669a8fdde2d7b27e2
Contents?: true
Size: 429 Bytes
Versions: 35
Compression:
Stored size: 429 Bytes
Contents
require 'active_attr' require 'journey/resource' module Journey class Configuration include ActiveAttr::Attributes include ActiveAttr::MassAssignment attribute :api_site attribute :api_user attribute :api_password def propagate! (Resource.descendants << Resource).each do |r| r.site = api_site r.user = api_user r.password = api_password end end end end
Version data entries
35 entries across 35 versions & 1 rubygems