module SirTrevor
Constants
- VERSION
Public Class Methods
config() { |config| ... }
click to toggle source
# File lib/sir-trevor/engine.rb, line 23 def self.config(&block) @@config ||= SirTrevor::Engine::Configuration.new yield @@config if block return @@config end
parse_json(json)
click to toggle source
# File lib/sir-trevor-rails.rb, line 17 def self.parse_json(json) MultiJson.load(json, symbolize_keys: true) end
setup() { |self| ... }
click to toggle source
# File lib/sir-trevor-rails.rb, line 13 def self.setup yield self end