adcenter-client-r19 8.0.4 → 8.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.txt +82 -1
  2. data/Rakefile.rb +1 -1
  3. data/lib/adcenter_client.rb +3 -3
  4. metadata +6 -3
data/README.txt CHANGED
@@ -1 +1,82 @@
1
- BlahBlahBlah
1
+ = adcenter_client
2
+
3
+ * scm:: (https://github.com/bleechack/adcenter-client)
4
+ * rubyforge:: (http://rubyforge.org/projects/adcenter-client/)
5
+
6
+ == DESCRIPTION:
7
+
8
+ Interface to Microsoft (Yahoo!) adCenter SOAP API
9
+
10
+ == FEATURES/PROBLEMS:
11
+
12
+ * adds a wrapper around MSN adCenter SOAP API for ruby use
13
+ * entities are created directly from the WSDL using wsdl2ruby.rb
14
+
15
+ == SYNOPSIS:
16
+
17
+ credentials = {
18
+ 'UserName' => options[:username],
19
+ 'Password' => options[:password],
20
+ 'ApplicationToken' => '',
21
+ 'DeveloperToken' => options[:token],
22
+ 'CustomerId' => options[:customerid],
23
+ 'CustomerAccountId' => options[:accountid] || ""
24
+ }
25
+
26
+ @acc = AdCenterClient.new(credentials)
27
+ @svc = @acc.customer_management_service
28
+ @entities = @acc.entities
29
+
30
+ req = @entities::GetAccountsInfoRequest.new(credentials[:customerid])
31
+ res = @svc.getAccountsInfo(req)
32
+
33
+ == REQUIREMENTS:
34
+
35
+ * soap4r
36
+
37
+ == INSTALL:
38
+
39
+ $ sudo gem install adcenter-client
40
+
41
+ == DEVELOPERS:
42
+
43
+ After checking out the source, run:
44
+
45
+ $ rake adcenter-client
46
+
47
+ This task will install any missing dependencies, run the tests/specs,
48
+ and generate the RDoc.
49
+
50
+ == AUTHOR:
51
+
52
+ {Josh Peck}[jmp@joshpeck.org]
53
+
54
+ == LICENSE:
55
+
56
+ (The BSD License)
57
+
58
+ Copyright (c) 2011, JOSH PECK
59
+ All rights reserved.
60
+
61
+ Redistribution and use in source and binary forms, with or without
62
+ modification, are permitted provided that the following conditions are met:
63
+
64
+ * Redistributions of source code must retain the above copyright notice,
65
+ this list of conditions and the following disclaimer.
66
+ * Redistributions in binary form must reproduce the above copyright
67
+ notice, this list of conditions and the following disclaimer in the
68
+ documentation and/or other materials provided with the distribution.
69
+ * Neither the name of the <ORGANIZATION> nor the names of its contributors
70
+ may be used to endorse or promote products derived from this software
71
+ without specific prior written permission.
72
+
73
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
74
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
75
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
76
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
77
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
78
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
79
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
80
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
81
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
82
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
data/Rakefile.rb CHANGED
@@ -24,7 +24,7 @@ Hoe.spec 'adcenter-client-r19' do |h|
24
24
  h.remote_rdoc_dir = 'adcenter-client'
25
25
  h.developer('Josh Peck', 'jmp@joshpeck.org')
26
26
  h.rubyforge_name = 'adcenter-client'
27
- h.extra_deps << [ 'soap4r-r19' ]
27
+ h.extra_deps << [ 'soap4r-ruby1.9' ]
28
28
  h.extra_deps << [ 'hoe', '>= 2.8.0' ]
29
29
  end
30
30
 
@@ -2,9 +2,9 @@ $: << File.expand_path(File.dirname(__FILE__))
2
2
 
3
3
  require 'rubygems'
4
4
  begin
5
- gem 'soap4r-r19'
5
+ gem 'soap4r-ruby1.9'
6
6
  rescue
7
- require_gem 'soap4r-r19'
7
+ require_gem 'soap4r-ruby1.9'
8
8
  end
9
9
 
10
10
  require 'soap/wsdlDriver'
@@ -21,7 +21,7 @@ require 'optimizer_service'
21
21
  require 'reporting_service'
22
22
 
23
23
  class AdCenterClient
24
- VERSION = '8.0.4'
24
+ VERSION = '8.0.5'
25
25
  include SOAP::RPC
26
26
 
27
27
  attr_accessor :options
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: adcenter-client-r19
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 8.0.4
5
+ version: 8.0.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Josh PeckJosh Peck
@@ -13,7 +13,7 @@ cert_chain: []
13
13
  date: 2012-07-13 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: soap4r-r19
16
+ name: soap4r-ruby1.9
17
17
  version_requirements: &id001 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
@@ -56,7 +56,10 @@ dependencies:
56
56
  requirement: *id004
57
57
  prerelease: false
58
58
  type: :development
59
- description: ""
59
+ description: |-
60
+ == DESCRIPTION:
61
+
62
+ Interface to Microsoft (Yahoo!) adCenter SOAP API
60
63
  email: jmp@joshpeck.orgjmp@joshpeck.org
61
64
  executables:
62
65
  - get_adcenter_account_info.rb