mindbody 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ base = 'lib/mindbody/'
2
+
3
+ ['meta', 'options', 'credentials', 'source_credentials', 'service', 'site_service'].each do |str|
4
+ load (base + str + '.rb')
5
+ end
@@ -123,7 +123,7 @@ module Mb
123
123
  if unwrap_bool
124
124
  #Unwrap response to hash array underneath)
125
125
  plural = service_symbol.to_s.gsub("get_", "")
126
- singular =plural[0..-1] #Remove last
126
+ singular =plural[0..-2] #Remove last
127
127
  r = response.to_hash
128
128
  basify = lambda {|enda| (service_symbol.to_s + "_" + enda).to_sym }
129
129
  r = r[basify.call('response')][basify.call('result')][plural.to_sym][singular.to_sym]
@@ -1,3 +1,3 @@
1
1
  module Mindbody
2
- Version = "0.1.4"
2
+ Version = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mindbody
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-21 00:00:00.000000000 -08:00
12
+ date: 2011-12-22 00:00:00.000000000 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: savon
17
- requirement: &2157173000 !ruby/object:Gem::Requirement
17
+ requirement: &2160923460 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,13 +22,14 @@ dependencies:
22
22
  version: 0.9.2
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2157173000
25
+ version_requirements: *2160923460
26
26
  description: Ruby's interface to the Mindbody 0.5 API with no bell's and whistles
27
27
  email: tgoffman@gmail.com
28
28
  executables: []
29
29
  extensions: []
30
30
  extra_rdoc_files: []
31
31
  files:
32
+ - lib/loader.rb
32
33
  - lib/mindbody/appointment_service.rb
33
34
  - lib/mindbody/class_service.rb
34
35
  - lib/mindbody/client_service.rb