Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues/33 ep ruby in readme #50

Merged
merged 4 commits into from
Aug 30, 2016
Merged

Issues/33 ep ruby in readme #50

merged 4 commits into from
Aug 30, 2016

Conversation

davewhiteland
Copy link
Contributor

Updating the README: it's important to realise that everypolitician-ruby exists, because this gem is useful even if you haven't manually downloaded a JSON Popolo file.

Dave Whiteland added 2 commits August 29, 2016 18:11
make it clear that you don't *need* to download a Popolo JSON file to use this
gem, because you could use the everypolitician-ruby gem to do that for you.
@davewhiteland
Copy link
Contributor Author

@tmtmtmtm for review please

australia = Everypolitician.country('Australia')
australia.code # => "AU"
senate = australia.legislature('Senate')
senate.persons.find_by(name: "Aden Ridgeway", openaustralia: "10540")
Copy link
Contributor

Choose a reason for hiding this comment

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

I realise we have the same problem elsewhere in this file (which we should also fix), but I don't think we should show this style of searching by multiple fields in one shot as the primary example. If we want to show that you can search by more things than name, I'd suggest giving two examples, rather than one.

@tmtmtmtm tmtmtmtm assigned davewhiteland and unassigned tmtmtmtm Aug 30, 2016
Dave Whiteland added 2 commits August 30, 2016 14:40
The target is #see-also-everypolitician-ruby because that is being generated
by GitHub's markdown converter.
@tmtmtmtm tmtmtmtm merged commit be166e3 into master Aug 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants