Method: Cody::Dsl::Project#github_token

Defined in:
lib/cody/dsl/project.rb

#github_token(token) ⇒ Object

So it looks like the auth resource property doesnt really get used. Instead an account level credential is worked. Refer to: github.com/tongueroo/cody/blob/master/readme/github_oauth.md

Keeping this method around in case the CloudFormation method works one day, or end up figuring out to use it properly.



41
42
43
# File 'lib/cody/dsl/project.rb', line 41

def github_token(token)
  @properties[:source][:auth][:resource] = token
end