rb_raven_api 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +8 -0
  2. data/lib/rb_raven_api/domain.rb +10 -0
  3. metadata +2 -2
data/README.md CHANGED
@@ -103,6 +103,14 @@ Example response in JSON
103
103
  }
104
104
  ]
105
105
 
106
+ ### Domain Info
107
+
108
+ This request will return the search engines for the domain provided.
109
+
110
+ Raven::Domain.info 'poop-chute.com'
111
+
112
+
113
+
106
114
  ## Keywords
107
115
 
108
116
  Keywords endpoint allows you to create and add keywords to a domain.
@@ -43,6 +43,16 @@ module Raven
43
43
  Raven.http.get '', { method: 'keywords_tags', domain: domain }
44
44
  end
45
45
 
46
+ ##
47
+ # This request will return the search engines for the domain provided.
48
+ #
49
+ # @param domain [String] *Required* The domain name you want info for. _Must match exactly_
50
+ #
51
+
52
+ def self.info domain
53
+ Raven.http.get '', { method: 'domain_info', domain: domain }
54
+ end
55
+
46
56
  end
47
57
 
48
58
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rb_raven_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-02 00:00:00.000000000 Z
12
+ date: 2012-12-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client