lib/lucid_client/mixins/model.rb
# Maps local attributes to properties of a remote resource. The block
# passed to this method is expected to return a hash of mappings.
#
# Accessor methods for each local attribute will be created, so call this
# before defining any accessor overrides.
#
Maps local attributes to properties of a remote resource. The block
passed to this method is expected to return a hash of mappings.

Accessor methods for each local attribute will be created, so call this
before defining any accessor overrides.
Maps local attributes to properties of a remote resource . The block passed to this method is expected to return a hash of mappings . Accessor methods for each local attribute will be created so call this before defining any accessor overrides .
def map_properties( hash = {}, options = {}, &block )
      mappings = block_given? ? block.call : hash
      set_properties mappings, options
    end
def map_properties ( hash = { } , options = { } , & block ) mappings = block_given? ? block . call : hash set_properties mappings , options end
Maps local attributes to properties of a remote resource.
Maps local attributes to properties of a remote resource .
hash
<not_specific>
options
<not_specific>
block
<not_specific>