Created
November 16, 2008 16:38
-
-
Save mattknox/25507 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-3.2$ ./bin/goaloc | |
Loading goaloc gem | |
>> route [:panels, [:topics, [:questions, :comments]]], :invitations, :invitation_groups Panel Panel | |
Topic PanelTopic | |
Question PanelTopicQuestion | |
Comment PanelTopicQuestionComment | |
Invitation Invitation | |
InvitationGroup InvitationGroup | |
=> [[:panels, [:topics, [:questions, :comments]]], :invitations, :invitation_groups] | |
>> add_attrs :topics => "title:string body:text", :questions => "body:string", :comments => "body:string", :invitation_groups => "name:string panelnym_prefix:string target_headcount:integer", :invitations => "state:string recipient:string" | |
=> {:invitation_groups=>"name:string panelnym_prefix:string target_headcount:integer", :topics=>"title:string body:text", :comments=>"body:string", :questions=>"body:string", :invitations=>"state:string recipient:string"} | |
>> @app.name = "panels" | |
=> "panels" | |
>> generate | |
=> [InvitationGroup, Panel, Topic, Comment, Question, Invitation] | |
>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment