class Credentials

Public Class Methods

bucket() click to toggle source
# File lib/syncassets_r3.rb, line 29
def self.bucket
  Auth.root[Auth.env]['bucket']
end
distribution_ids() click to toggle source
# File lib/syncassets_r3.rb, line 32
def self.distribution_ids
  unless Auth.root[Auth.env]['distribution_ids'].nil?
    return Auth.root[Auth.env]['distribution_ids'].gsub(' ','').split(',')
  end
  []
end
key() click to toggle source
# File lib/syncassets_r3.rb, line 23
def self.key
  Auth.root[Auth.env]['access_key_id']
end
new() click to toggle source
# File lib/syncassets_r3.rb, line 15
  def initialize
# TRIED USING THE INITIALIZE FOR THOSE YAML LOADING DOWN THERE
# BUT IT WAS GIVING ME CRAP AND HAD TO DUPLICATE THE LINE
# MY GUEST IS THAT IT IS B/C THEY ARE CLASS METHODS
# TODO: RESEARCH HOW TO REFACTOR OUT
  end
secret() click to toggle source
# File lib/syncassets_r3.rb, line 26
def self.secret
  Auth.root[Auth.env]['secret_access_key']
end