Skip to content

Commit

Permalink
update the readme to show use of the updated api http://groups.google…
Browse files Browse the repository at this point in the history
  • Loading branch information
reddavis committed Feb 19, 2010
1 parent 7112df9 commit 1108992
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ To get an ad for a specific user
require 'rubygems'
require 'one40_proof'

ad = One40Proof::UserAd.new(:user_id => 'reddavis', :publisher_id => 'your publisher id')
ad = One40Proof::UserAd.new(:user_id => 'reddavis', :app_id => 'your app_id')


To get an ad for a specific query

require 'rubygems'
require 'one40_proof'

ad = One40Proof::Search.new(:user_id => 'reddavis', :publisher_id => 'your publisher id', :q => 'magic hats')
ad = One40Proof::Search.new(:user_id => 'reddavis', :app_id => 'your app_id', :q => 'magic hats')

== Copyright

Copyright (c) 2010 Red Davis. See LICENSE for details.
Copyright (c) 2010 Red Davis. See LICENSE for details.
77 changes: 77 additions & 0 deletions one40_proof.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{one40_proof}
s.version = "0.0.0"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["reddavis"]
s.date = %q{2010-02-17}
s.description = %q{A Ruby wrapper around the 140Proof API. Documentation can be found here - http://developers.140proof.com/docs/}
s.email = %q{reddavis@gmail.com}
s.extra_rdoc_files = [
"LICENSE",
"README.rdoc"
]
s.files = [
".document",
".gitignore",
"LICENSE",
"README.rdoc",
"Rakefile",
"VERSION",
"lib/one40_proof.rb",
"lib/one40_proof/attributes/action_urls.rb",
"lib/one40_proof/attributes/user.rb",
"lib/one40_proof/base.rb",
"lib/one40_proof/exceptions.rb",
"lib/one40_proof/search.rb",
"lib/one40_proof/test.rb",
"lib/one40_proof/user_ad.rb",
"spec/one40_proof/attributes/action_urls_spec.rb",
"spec/one40_proof/attributes/user_spec.rb",
"spec/one40_proof/base_spec.rb",
"spec/one40_proof/search_spec.rb",
"spec/one40_proof/test_spec.rb",
"spec/one40_proof/user_ad_spec.rb",
"spec/spec.opts",
"spec/spec_helper.rb"
]
s.homepage = %q{http://github.com/reddavis/One40Proof}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.5}
s.summary = %q{A Ruby wrapper around the 140Proof API}
s.test_files = [
"spec/one40_proof/attributes/action_urls_spec.rb",
"spec/one40_proof/attributes/user_spec.rb",
"spec/one40_proof/base_spec.rb",
"spec/one40_proof/search_spec.rb",
"spec/one40_proof/test_spec.rb",
"spec/one40_proof/user_ad_spec.rb",
"spec/spec_helper.rb"
]

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
s.add_runtime_dependency(%q<json>, [">= 0"])
s.add_runtime_dependency(%q<httparty>, [">= 0"])
else
s.add_dependency(%q<rspec>, [">= 1.2.9"])
s.add_dependency(%q<json>, [">= 0"])
s.add_dependency(%q<httparty>, [">= 0"])
end
else
s.add_dependency(%q<rspec>, [">= 1.2.9"])
s.add_dependency(%q<json>, [">= 0"])
s.add_dependency(%q<httparty>, [">= 0"])
end
end

0 comments on commit 1108992

Please sign in to comment.