nsidc-config_injector_client 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/nsidc/config_injector_client.rb +16 -0
- metadata +44 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3722a16f1849df9dabd7a2e90351c1d3ba47f20f
|
4
|
+
data.tar.gz: 83755bfad96cc1461bc1d736091883668c6aeacc
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1ed743a96f6961ee17482152225a8d44e3b8fb8f944ec5f8dad8c7c3f0c62a6fbf611e772c0f4f31cc3e568b5777a964b61203ce8918b07e83bcea9fedf67dda
|
7
|
+
data.tar.gz: aee29e6db509b05011b7cf37990755dcdfb8b1c41d83dbe4d52bba45d037089043f7de9c003304b6d62a2eb4b90011a4e775e2465d8b2a78ef49446ba1670bd1
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'net/http'
|
2
|
+
require 'uri'
|
3
|
+
require 'json'
|
4
|
+
|
5
|
+
module Nsidc
|
6
|
+
class ConfigInjectorClient
|
7
|
+
|
8
|
+
def initialize service_endpoint
|
9
|
+
@service_endpoint = service_endpoint
|
10
|
+
|
11
|
+
# throw an exception if the endpoint is not a valid uri
|
12
|
+
URI.parse(@service_endpoint)
|
13
|
+
end
|
14
|
+
|
15
|
+
end
|
16
|
+
end
|
metadata
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: nsidc-config_injector_client
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Chris Chalstrom
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-08-03 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: "."
|
14
|
+
email: ''
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- lib/nsidc/config_injector_client.rb
|
20
|
+
homepage: http://rubygems.org/gems/nsidc-config_injector_client
|
21
|
+
licenses:
|
22
|
+
- MIT
|
23
|
+
metadata: {}
|
24
|
+
post_install_message:
|
25
|
+
rdoc_options: []
|
26
|
+
require_paths:
|
27
|
+
- lib
|
28
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - ">="
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
requirements: []
|
39
|
+
rubyforge_project:
|
40
|
+
rubygems_version: 2.2.1
|
41
|
+
signing_key:
|
42
|
+
specification_version: 4
|
43
|
+
summary: Ruby client for the NSIDC config injector service
|
44
|
+
test_files: []
|