biola_web_services 1.0.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,11 +32,15 @@ module BiolaWebServices
32
32
  @connection
33
33
  end
34
34
 
35
+ def self.[](service_name)
36
+ Service.new(service_name)
37
+ end
38
+
35
39
  def self.method_missing(m, *args)
36
40
  if args.empty?
37
- BiolaWebServices::Service.new(m)
41
+ Service.new(m)
38
42
  else
39
43
  super
40
44
  end
41
45
  end
42
- end
46
+ end
@@ -7,8 +7,9 @@ module BiolaWebServices
7
7
  attr_accessor :verify_ssl
8
8
  attr_accessor :ssl_version
9
9
 
10
- # DEFAULTS
11
- @url = 'https://ws.biola.edu'
12
- @verify_ssl = true
10
+ def initialize
11
+ @url = 'https://ws.biola.edu'
12
+ @verify_ssl = true
13
+ end
13
14
  end
14
- end
15
+ end
@@ -1,3 +1,3 @@
1
1
  module BiolaWebServices
2
- VERSION = '1.0.0'
3
- end
2
+ VERSION = '1.1.1'
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: biola_web_services
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.1
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-04-13 00:00:00.000000000 Z
12
+ date: 2012-05-07 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Simple Ruby wrapper for Biola Web Services REST calls
15
15
  email: adam.crownoble@biola.edu