myob-api 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,14 +12,13 @@ module Myob
12
12
  model :Contact
13
13
  model :Customer
14
14
 
15
- @consumer = options[:consumer]
16
- @access_token = options[:access_token]
17
- @client = OAuth2::Client.new(@consumer[:key], @consumer[:secret])
15
+ @consumer = options[:consumer]
16
+ @access_token = options[:access_token]
17
+ @current_company_file = {}
18
+ @client = OAuth2::Client.new(@consumer[:key], @consumer[:secret])
18
19
 
19
20
  if options[:company_file]
20
21
  @current_company_file = select_company_file(options[:company_file])
21
- else
22
- @current_company_file = {}
23
22
  end
24
23
  end
25
24
 
@@ -1,5 +1,5 @@
1
1
  module Myob
2
2
  module Api
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: myob-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -79,7 +79,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
79
79
  version: '0'
80
80
  segments:
81
81
  - 0
82
- hash: 3491047311971479303
82
+ hash: -4044968237575791843
83
83
  required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  version: '0'
89
89
  segments:
90
90
  - 0
91
- hash: 3491047311971479303
91
+ hash: -4044968237575791843
92
92
  requirements: []
93
93
  rubyforge_project:
94
94
  rubygems_version: 1.8.23