class Experience::Stub::Platform

Public Class Methods

get_content(identifier) click to toggle source
# File features/support/stub_platform.rb, line 9
def self.get_content identifier
  information.fetch(:content).fetch(identifier.keys.first).fetch(identifier.values.first)
end
information() click to toggle source
# File features/support/stub_platform.rb, line 5
def self.information
  @information ||= YAML.load_file File.expand_path('../stub_data.yml', __FILE__,)
end