beanie 0.1.4 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile +4 -0
  3. data/README.md +79 -16
  4. data/Rakefile +8 -1
  5. data/beanie.gemspec +44 -25
  6. data/docs/BankAccount.md +24 -0
  7. data/docs/BankAccountApi.md +154 -0
  8. data/docs/BankAccountInput.md +24 -0
  9. data/docs/ErrorModel.md +9 -0
  10. data/git_push.sh +55 -0
  11. data/lib/beanie/api/bank_account_api.rb +183 -0
  12. data/lib/beanie/api_client.rb +388 -0
  13. data/lib/beanie/api_error.rb +38 -0
  14. data/lib/beanie/configuration.rb +202 -0
  15. data/lib/beanie/models/bank_account.rb +358 -0
  16. data/lib/beanie/models/bank_account_input.rb +357 -0
  17. data/lib/beanie/models/error_model.rb +202 -0
  18. data/lib/beanie/version.rb +13 -30
  19. data/lib/beanie.rb +32 -115
  20. data/spec/api/bank_account_api_spec.rb +71 -0
  21. data/spec/api_client_spec.rb +226 -0
  22. data/spec/configuration_spec.rb +42 -0
  23. data/spec/models/bank_account_input_spec.rb +137 -0
  24. data/spec/models/bank_account_spec.rb +137 -0
  25. data/spec/models/error_model_spec.rb +47 -0
  26. data/spec/spec_helper.rb +111 -0
  27. metadata +174 -71
  28. data/.gitignore +0 -17
  29. data/VERSION +0 -1
  30. data/lib/beanie/api.rb +0 -182
  31. data/lib/beanie/bank_account.rb +0 -44
  32. data/lib/beanie/bank_statement.rb +0 -45
  33. data/lib/beanie/bank_statement_data.rb +0 -51
  34. data/lib/beanie/beanie_alert.rb +0 -66
  35. data/lib/beanie/bill_of_material.rb +0 -44
  36. data/lib/beanie/billable.rb +0 -46
  37. data/lib/beanie/bom_item.rb +0 -44
  38. data/lib/beanie/company.rb +0 -66
  39. data/lib/beanie/company_member.rb +0 -43
  40. data/lib/beanie/config_type.rb +0 -62
  41. data/lib/beanie/config_value.rb +0 -42
  42. data/lib/beanie/customer.rb +0 -51
  43. data/lib/beanie/customer_address.rb +0 -63
  44. data/lib/beanie/customer_note.rb +0 -42
  45. data/lib/beanie/document.rb +0 -71
  46. data/lib/beanie/fixed_asset.rb +0 -45
  47. data/lib/beanie/journal.rb +0 -44
  48. data/lib/beanie/journal_item.rb +0 -44
  49. data/lib/beanie/nominal_account.rb +0 -73
  50. data/lib/beanie/nominal_account_category.rb +0 -49
  51. data/lib/beanie/product.rb +0 -52
  52. data/lib/beanie/product_category.rb +0 -43
  53. data/lib/beanie/product_price.rb +0 -44
  54. data/lib/beanie/production_order.rb +0 -76
  55. data/lib/beanie/purchase_invoice.rb +0 -55
  56. data/lib/beanie/purchase_order.rb +0 -46
  57. data/lib/beanie/purchase_order_item.rb +0 -60
  58. data/lib/beanie/sales_invoice.rb +0 -83
  59. data/lib/beanie/sales_invoice_item.rb +0 -50
  60. data/lib/beanie/sales_order.rb +0 -74
  61. data/lib/beanie/sales_order_item.rb +0 -126
  62. data/lib/beanie/stock_adjustment.rb +0 -70
  63. data/lib/beanie/stock_category.rb +0 -44
  64. data/lib/beanie/stock_item.rb +0 -58
  65. data/lib/beanie/stock_location.rb +0 -42
  66. data/lib/beanie/stock_supplier.rb +0 -48
  67. data/lib/beanie/supplier.rb +0 -48
  68. data/lib/beanie/supplier_address.rb +0 -53
  69. data/lib/beanie/supplier_note.rb +0 -42
  70. data/lib/beanie/tax_registration.rb +0 -59
  71. data/lib/beanie/vat_record.rb +0 -66
  72. data/lib/beanie/vat_return.rb +0 -60
  73. data/lib/beanie/work_centre.rb +0 -99
  74. data/lib/beanie/work_centre_group.rb +0 -50
@@ -0,0 +1,202 @@
1
+ =begin
2
+ #Beanie ERP API
3
+
4
+ #An API specification for interacting with the Beanie ERP system
5
+
6
+ OpenAPI spec version: 0.1
7
+ Contact: dev@bean.ie
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module Beanie
16
+ class ErrorModel
17
+ attr_accessor :code
18
+
19
+ attr_accessor :message
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'code' => :'code',
25
+ :'message' => :'message'
26
+ }
27
+ end
28
+
29
+ # Attribute type mapping.
30
+ def self.swagger_types
31
+ {
32
+ :'code' => :'Integer',
33
+ :'message' => :'String'
34
+ }
35
+ end
36
+
37
+ # Initializes the object
38
+ # @param [Hash] attributes Model attributes in the form of hash
39
+ def initialize(attributes = {})
40
+ return unless attributes.is_a?(Hash)
41
+
42
+ # convert string to symbol for hash key
43
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
44
+
45
+ if attributes.has_key?(:'code')
46
+ self.code = attributes[:'code']
47
+ end
48
+
49
+ if attributes.has_key?(:'message')
50
+ self.message = attributes[:'message']
51
+ end
52
+ end
53
+
54
+ # Show invalid properties with the reasons. Usually used together with valid?
55
+ # @return Array for valid properties with the reasons
56
+ def list_invalid_properties
57
+ invalid_properties = Array.new
58
+ if @code.nil?
59
+ invalid_properties.push('invalid value for "code", code cannot be nil.')
60
+ end
61
+
62
+ if @message.nil?
63
+ invalid_properties.push('invalid value for "message", message cannot be nil.')
64
+ end
65
+
66
+ invalid_properties
67
+ end
68
+
69
+ # Check to see if the all the properties in the model are valid
70
+ # @return true if the model is valid
71
+ def valid?
72
+ return false if @code.nil?
73
+ return false if @message.nil?
74
+ true
75
+ end
76
+
77
+ # Checks equality by comparing each attribute.
78
+ # @param [Object] Object to be compared
79
+ def ==(o)
80
+ return true if self.equal?(o)
81
+ self.class == o.class &&
82
+ code == o.code &&
83
+ message == o.message
84
+ end
85
+
86
+ # @see the `==` method
87
+ # @param [Object] Object to be compared
88
+ def eql?(o)
89
+ self == o
90
+ end
91
+
92
+ # Calculates hash code according to all attributes.
93
+ # @return [Fixnum] Hash code
94
+ def hash
95
+ [code, message].hash
96
+ end
97
+
98
+ # Builds the object from hash
99
+ # @param [Hash] attributes Model attributes in the form of hash
100
+ # @return [Object] Returns the model itself
101
+ def build_from_hash(attributes)
102
+ return nil unless attributes.is_a?(Hash)
103
+ self.class.swagger_types.each_pair do |key, type|
104
+ if type =~ /\AArray<(.*)>/i
105
+ # check to ensure the input is an array given that the the attribute
106
+ # is documented as an array but the input is not
107
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
108
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
109
+ end
110
+ elsif !attributes[self.class.attribute_map[key]].nil?
111
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
112
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
113
+ end
114
+
115
+ self
116
+ end
117
+
118
+ # Deserializes the data based on type
119
+ # @param string type Data type
120
+ # @param string value Value to be deserialized
121
+ # @return [Object] Deserialized data
122
+ def _deserialize(type, value)
123
+ case type.to_sym
124
+ when :DateTime
125
+ DateTime.parse(value)
126
+ when :Date
127
+ Date.parse(value)
128
+ when :String
129
+ value.to_s
130
+ when :Integer
131
+ value.to_i
132
+ when :Float
133
+ value.to_f
134
+ when :BOOLEAN
135
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
136
+ true
137
+ else
138
+ false
139
+ end
140
+ when :Object
141
+ # generic object (usually a Hash), return directly
142
+ value
143
+ when /\AArray<(?<inner_type>.+)>\z/
144
+ inner_type = Regexp.last_match[:inner_type]
145
+ value.map { |v| _deserialize(inner_type, v) }
146
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
147
+ k_type = Regexp.last_match[:k_type]
148
+ v_type = Regexp.last_match[:v_type]
149
+ {}.tap do |hash|
150
+ value.each do |k, v|
151
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
152
+ end
153
+ end
154
+ else # model
155
+ temp_model = Beanie.const_get(type).new
156
+ temp_model.build_from_hash(value)
157
+ end
158
+ end
159
+
160
+ # Returns the string representation of the object
161
+ # @return [String] String presentation of the object
162
+ def to_s
163
+ to_hash.to_s
164
+ end
165
+
166
+ # to_body is an alias to to_hash (backward compatibility)
167
+ # @return [Hash] Returns the object in the form of hash
168
+ def to_body
169
+ to_hash
170
+ end
171
+
172
+ # Returns the object in the form of hash
173
+ # @return [Hash] Returns the object in the form of hash
174
+ def to_hash
175
+ hash = {}
176
+ self.class.attribute_map.each_pair do |attr, param|
177
+ value = self.send(attr)
178
+ next if value.nil?
179
+ hash[param] = _to_hash(value)
180
+ end
181
+ hash
182
+ end
183
+
184
+ # Outputs non-array value in the form of hash
185
+ # For object, use to_hash. Otherwise, just return the value
186
+ # @param [Object] value Any valid value
187
+ # @return [Hash] Returns the value in the form of hash
188
+ def _to_hash(value)
189
+ if value.is_a?(Array)
190
+ value.compact.map { |v| _to_hash(v) }
191
+ elsif value.is_a?(Hash)
192
+ {}.tap do |hash|
193
+ value.each { |k, v| hash[k] = _to_hash(v) }
194
+ end
195
+ elsif value.respond_to? :to_hash
196
+ value.to_hash
197
+ else
198
+ value
199
+ end
200
+ end
201
+ end
202
+ end
@@ -1,32 +1,15 @@
1
- #
2
- # Copyright (c) 2017-2018, AltoYield Limited. All rights reserved.
3
- #
4
- # This is free software; you can redistribute it and/or modify it
5
- # under the terms of the GNU General Public License as published by
6
- # the Free Software Foundation; either version 2, or (at your option)
7
- # any later version.
8
- #
9
- # It is distributed in the hope that it will be useful, but WITHOUT
10
- # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
- # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12
- # for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along
15
- # with this product; see the file COPYING. If not, write to the Free
16
- # Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
17
- #
18
- # THIS SOFTWARE IS PROVIDED BY ALTOYIELD LIMITED "AS IS" AND ANY EXPRESS
19
- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
- # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21
- # ARE DISCLAIMED. IN NO EVENT SHALL ALTOYIELD LIMITED BE LIABLE FOR
22
- # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
- # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24
- # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25
- # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
26
- # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
27
- # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28
- # POSSIBILITY OF SUCH DAMAGE.
29
- #
1
+ =begin
2
+ #Beanie ERP API
3
+
4
+ #An API specification for interacting with the Beanie ERP system
5
+
6
+ OpenAPI spec version: 0.1
7
+ Contact: dev@bean.ie
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.0-SNAPSHOT
10
+
11
+ =end
12
+
30
13
  module Beanie
31
- VERSION = "0.1.4"
14
+ VERSION = '0.2.0'
32
15
  end
data/lib/beanie.rb CHANGED
@@ -1,126 +1,43 @@
1
- #
2
- # Copyright (c) 2017-2018, AltoYield Limited. All rights reserved.
3
- #
4
- # This is free software; you can redistribute it and/or modify it
5
- # under the terms of the GNU General Public License as published by
6
- # the Free Software Foundation; either version 2, or (at your option)
7
- # any later version.
8
- #
9
- # It is distributed in the hope that it will be useful, but WITHOUT
10
- # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
- # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12
- # for more details.
13
- #
14
- # You should have received a copy of the GNU General Public License along
15
- # with this product; see the file COPYING. If not, write to the Free
16
- # Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
17
- #
18
- # THIS SOFTWARE IS PROVIDED BY ALTOYIELD LIMITED "AS IS" AND ANY EXPRESS
19
- # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
- # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21
- # ARE DISCLAIMED. IN NO EVENT SHALL ALTOYIELD LIMITED BE LIABLE FOR
22
- # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
- # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24
- # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25
- # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
26
- # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
27
- # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28
- # POSSIBILITY OF SUCH DAMAGE.
29
- #
30
- # Ruby bindings for the Beanie API
31
- # Docs at http://bean.ie/help/api/ruby
32
- require 'rest-client'
33
- require 'json'
1
+ =begin
2
+ #Beanie ERP API
34
3
 
35
- require File.dirname(__FILE__) + '/beanie/api'
36
- require File.dirname(__FILE__) + '/beanie/version'
37
- require File.dirname(__FILE__) + '/beanie/company'
38
- require File.dirname(__FILE__) + '/beanie/company_member'
39
- require File.dirname(__FILE__) + '/beanie/bank_account'
40
- require File.dirname(__FILE__) + '/beanie/bank_statement'
41
- require File.dirname(__FILE__) + '/beanie/bank_statement_data'
42
- require File.dirname(__FILE__) + '/beanie/beanie_alert'
43
- require File.dirname(__FILE__) + '/beanie/billable'
44
- require File.dirname(__FILE__) + '/beanie/bill_of_material'
45
- require File.dirname(__FILE__) + '/beanie/bom_item'
46
- require File.dirname(__FILE__) + '/beanie/config_type'
47
- require File.dirname(__FILE__) + '/beanie/config_value'
48
- require File.dirname(__FILE__) + '/beanie/customer'
49
- require File.dirname(__FILE__) + '/beanie/customer_address'
50
- require File.dirname(__FILE__) + '/beanie/customer_note'
51
- require File.dirname(__FILE__) + '/beanie/document'
52
- require File.dirname(__FILE__) + '/beanie/fixed_asset'
53
- require File.dirname(__FILE__) + '/beanie/journal'
54
- require File.dirname(__FILE__) + '/beanie/journal_item'
55
- require File.dirname(__FILE__) + '/beanie/nominal_account_category'
56
- require File.dirname(__FILE__) + '/beanie/nominal_account'
57
- require File.dirname(__FILE__) + '/beanie/product_category'
58
- require File.dirname(__FILE__) + '/beanie/product'
59
- require File.dirname(__FILE__) + '/beanie/product_price'
60
- require File.dirname(__FILE__) + '/beanie/work_centre_group'
61
- require File.dirname(__FILE__) + '/beanie/work_centre'
62
- require File.dirname(__FILE__) + '/beanie/production_order'
63
- require File.dirname(__FILE__) + '/beanie/purchase_invoice'
64
- require File.dirname(__FILE__) + '/beanie/purchase_order'
65
- require File.dirname(__FILE__) + '/beanie/purchase_order_item'
66
- require File.dirname(__FILE__) + '/beanie/sales_invoice'
67
- require File.dirname(__FILE__) + '/beanie/sales_invoice_item'
68
- require File.dirname(__FILE__) + '/beanie/sales_order'
69
- require File.dirname(__FILE__) + '/beanie/sales_order_item'
70
- require File.dirname(__FILE__) + '/beanie/stock_location'
71
- require File.dirname(__FILE__) + '/beanie/stock_category'
72
- require File.dirname(__FILE__) + '/beanie/stock_item'
73
- require File.dirname(__FILE__) + '/beanie/stock_adjustment'
74
- require File.dirname(__FILE__) + '/beanie/stock_supplier'
75
- require File.dirname(__FILE__) + '/beanie/supplier'
76
- require File.dirname(__FILE__) + '/beanie/supplier_address'
77
- require File.dirname(__FILE__) + '/beanie/supplier_note'
78
- require File.dirname(__FILE__) + '/beanie/tax_registration'
79
- require File.dirname(__FILE__) + '/beanie/vat_record'
80
- require File.dirname(__FILE__) + '/beanie/vat_return'
4
+ #An API specification for interacting with the Beanie ERP system
81
5
 
82
- DEFAULT_URI = "https://bean.ie"
6
+ OpenAPI spec version: 0.1
7
+ Contact: dev@bean.ie
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.0-SNAPSHOT
83
10
 
84
- module Beanie
85
- @@token = nil
11
+ =end
86
12
 
87
- class << self
88
- attr_accessor :api_key, :api_version, :secret_key
89
- end
13
+ # Common files
14
+ require 'beanie/api_client'
15
+ require 'beanie/api_error'
16
+ require 'beanie/version'
17
+ require 'beanie/configuration'
90
18
 
91
- def self.api_url(url='', api_base_uri=nil)
92
- (api_base_uri || @base_uri) + url
93
- end
19
+ # Models
20
+ require 'beanie/models/bank_account'
21
+ require 'beanie/models/error_model'
22
+ require 'beanie/models/bank_account_input'
94
23
 
95
- def self.connect(opts = {})
96
- @base_uri = opts[:base_uri] ? opts[:base_uri] : DEFAULT_URI
97
- @api_key = opts[:api_key] if opts[:api_key]
98
- @secret_key = opts[:secret_key] if opts[:secret_key]
99
- end
24
+ # APIs
25
+ require 'beanie/api/bank_account_api'
100
26
 
101
- def self.get_token
102
- unless @@token
103
- #
104
- # We need to get an authentication token from the server
105
- unless @api_key and @secret_key
106
- raise AuthenticationError.new('No API Key / Secret Key provided.' \
107
- 'Set your API Key using "Beanie.api_key = <API-KEY>". ' \
108
- 'Set your Secret Key using "Beanie.secret_key = <SECRET>". ' \
109
- 'You can generate API keys from the Beanie web interface. ' \
110
- 'See #{DEFAULT_URI}/help/api/key for details or email ' \
111
- 'support@bean.ie for further assistance.')
27
+ module Beanie
28
+ class << self
29
+ # Customize default settings for the SDK using block.
30
+ # Beanie.configure do |config|
31
+ # config.username = "xxx"
32
+ # config.password = "xxx"
33
+ # end
34
+ # If no block given, return the default Configuration object.
35
+ def configure
36
+ if block_given?
37
+ yield(Configuration.default)
38
+ else
39
+ Configuration.default
112
40
  end
113
- url = "#{@base_uri}/api/authenticate"
114
- data = {:api_key => @api_key, :secret_key => @secret_key}
115
- response = RestClient.post(url, data.to_json, :content_type => :json, :accept => :json)
116
- raise AuthenticationError.new('Authentication failure.') unless response.code == 202
117
- data = JSON.parse(response.body)
118
- @@token = data['token']
119
41
  end
120
- @@token
121
- end
122
-
123
- def self.base_uri
124
- @base_uri
125
42
  end
126
43
  end
@@ -0,0 +1,71 @@
1
+ =begin
2
+ #Beanie ERP API
3
+
4
+ #An API specification for interacting with the Beanie ERP system
5
+
6
+ OpenAPI spec version: 0.1
7
+ Contact: dev@bean.ie
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for Beanie::BankAccountApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'BankAccountApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = Beanie::BankAccountApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of BankAccountApi' do
30
+ it 'should create an instance of BankAccountApi' do
31
+ expect(@instance).to be_instance_of(Beanie::BankAccountApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for add_bank_account
36
+ # Creates a new bank account in the system
37
+ # @param bank_account Bank account to add to the system
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [BankAccount]
40
+ describe 'add_bank_account test' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ # unit tests for find_bank_account_by_id
47
+ # Find Bank Account by ID
48
+ # Returns a single bank account if the user has access
49
+ # @param id ID of bank account to fetch
50
+ # @param [Hash] opts the optional parameters
51
+ # @return [BankAccount]
52
+ describe 'find_bank_account_by_id test' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ # unit tests for find_bank_accounts
59
+ # All bank accounts
60
+ # Returns all bank accounts from the system that the user has access to
61
+ # @param [Hash] opts the optional parameters
62
+ # @option opts [Array<String>] :tags tags to filter by
63
+ # @option opts [Integer] :limit maximum number of results to return
64
+ # @return [Array<BankAccount>]
65
+ describe 'find_bank_accounts test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ end