class Formatron::Generators::Bootstrap::Formatronfile::Template
exports params to bootstrap ERB template
Attributes
ip[R]
params[R]
Public Class Methods
new(params)
click to toggle source
# File lib/formatron/generators/bootstrap/formatronfile.rb, line 14 def initialize(params) @params = params @ip = Curl.get('http://whatismyip.akamai.com').body_str end
Public Instance Methods
databag_secret()
click to toggle source
# File lib/formatron/generators/bootstrap/formatronfile.rb, line 23 def databag_secret Util.databag_secret end
guid()
click to toggle source
# File lib/formatron/generators/bootstrap/formatronfile.rb, line 19 def guid Util.guid end