class RESTfulLoaders::PropertyValuesLoader
Public Class Methods
new(property_definition)
click to toggle source
# File lib/mingle_macro_development_toolkit/loaders/restful_loaders/property_values_loader.rb, line 6 def initialize(property_definition) @property_definition = property_definition end
Public Instance Methods
load()
click to toggle source
# File lib/mingle_macro_development_toolkit/loaders/restful_loaders/property_values_loader.rb, line 10 def load extract('values', @property_definition).collect {|value| Mingle::PropertyValue.new(OpenStruct.new(value))} end