Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated typhoeus gem requirement to 0.6.6
- Loading branch information
weshays
committed
Nov 20, 2013
1 parent
2bde1b9
commit 70cd5b8
Showing
4 changed files
with
42 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# ******************************************* | ||
# This is a demo file to show usage. | ||
# | ||
# @package TheCity::Admin | ||
# @authors Robbie Lieb <robbie@onthecity.org>, Wes Hays <wes@onthecity.org> | ||
# ******************************************* | ||
|
||
require 'ruby-debug' | ||
require File.dirname(__FILE__) + '/../lib/the_city_admin.rb' | ||
|
||
require File.dirname(__FILE__) + '/city_keys.rb' | ||
include CityKeys | ||
|
||
TheCity::AdminApi.connect(KEY, TOKEN) | ||
|
||
fund_options = {:include_inactive => 'true', :show_give_online_only => 'false'} | ||
page = 1 | ||
|
||
fund_list = TheCity::FundList.new({:page => page}.merge(fund_options)) | ||
fund_list.each do |item| | ||
puts "FundList: #{item.inspect}" | ||
end | ||
|
||
|
||
puts "------------------------------------" | ||
|
||
puts "####################################" | ||
|
||
|
This file contains 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