Skip to content
This repository has been archived by the owner on Apr 22, 2022. It is now read-only.

Representor Yields Builder #22

Merged
merged 4 commits into from Jun 10, 2014
Merged

Representor Yields Builder #22

merged 4 commits into from Jun 10, 2014

Conversation

sheavalentine-mdsol
Copy link
Contributor

  • Representor Object yields builder
  • Refactored Builder Interface

Refactored Builder Interface
# end
#
# @param [Hash] hash the abstract representor hash defining a resource
def initialize(hash = nil)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious, why is hash being initialized to nil instead of {}?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 {}

@@ -37,7 +37,7 @@ def to_hash
builder_add_from_deserialized!(builder)
builder.to_representor_hash
end

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ignore this, this is all about to change with the next tasks

fosdev added a commit that referenced this pull request Jun 10, 2014
@fosdev fosdev merged commit ff8f27f into develop Jun 10, 2014
@fosdev fosdev deleted the representor_yields_builder branch June 10, 2014 16:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants