Module Spacer::Model
In: lib/spacer/model.rb

helper methods primarily supporting the management of Ruby objects which are populatable via Hashes. Since most Facebook API calls accept and return hashes of data (as XML), the Model module allows us to directly populate a model’s attributes given a Hash with matching key names.

Methods

Classes and Modules

Module Spacer::Model::ClassMethods
Class Spacer::Model::UnboundSessionException

Public Class methods

Public Instance methods

Set model’s attributes via Hash. Keys should map directly to the model’s attribute names.

[Validate]