module GClouder::Config::ResourceRepresentations
Public Class Methods
included(klass)
click to toggle source
# File lib/gclouder/config/resource_representations.rb, line 22 def self.included(klass) klass.extend ResourceRepresentations end
load()
click to toggle source
# File lib/gclouder/config/resource_representations.rb, line 14 def self.load properties end
properties()
click to toggle source
# File lib/gclouder/config/resource_representations.rb, line 10 def self.properties @properties ||= GClouder::ConfigLoader.load("../../assets/resource_representations") end
section(section)
click to toggle source
# File lib/gclouder/config/resource_representations.rb, line 26 def self.section(section) GClouder::ConfigSection.find(section, properties) end
Public Instance Methods
properties()
click to toggle source
# File lib/gclouder/config/resource_representations.rb, line 18 def properties ResourceRepresentations.properties end