gotransverse-tract-api 0.0.8 → 0.0.9
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.
- checksums.yaml +4 -4
- data/README.md +18 -4
- data/lib/gotransverse-tract-api/general_ledger/gl_account.rb +28 -0
- data/lib/gotransverse-tract-api/general_ledger/gl_account_category.rb +21 -0
- data/lib/gotransverse-tract-api/general_ledger/gl_accounting_entry.rb +14 -0
- data/lib/gotransverse-tract-api/general_ledger/gl_aggregate_batch.rb +28 -0
- data/lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb +28 -0
- data/lib/gotransverse-tract-api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e20182018363ad61d9f98d987098de5c643be8c4
|
4
|
+
data.tar.gz: aee627b0846f785a4997877823783f188529bbbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdc552bf1fe8bf4f428a1176327b324c9b3b95470b5b8b1ed29e3956a6a89ca802e2221fc80dfb1152bd49e3100439df68e31e50365f75455b2c004661ff37af
|
7
|
+
data.tar.gz: ed8dcfe4ad59c58d6d9e7062da2126e867e590f16b80a37cd1dd9b70abc61259b9dfdd96ac5a1b4e40cb57c6f739d6fcaa169d3a9c5e5fba5aa5ac1872df237e
|
data/README.md
CHANGED
@@ -54,8 +54,10 @@ http://devdoc.gotransverse.com.php53-14.ord1-1.websitetestlink.com/Developer-Gui
|
|
54
54
|
#!ruby
|
55
55
|
GoTransverseTractApi::BillingAccount::Invoice.find_by_eid(<eid>)
|
56
56
|
|
57
|
-
GoTransverseTractApi::Product::Product.find_all
|
58
|
-
GoTransverseTractApi::Product::Product.find_by_eid(<eid>)
|
57
|
+
products = GoTransverseTractApi::Product::Product.find_all
|
58
|
+
some_product = GoTransverseTractApi::Product::Product.find_by_eid(<eid>)
|
59
|
+
|
60
|
+
Hash.from_xml(some_product.to_s)
|
59
61
|
```
|
60
62
|
|
61
63
|
## Version History & Changelog
|
@@ -93,5 +95,17 @@ Reward our developers and help us keep this project active.
|
|
93
95
|
|
94
96
|
[![Click here to donate][2]][1]
|
95
97
|
|
96
|
-
[1]: https://www.bountysource.com/cart?amount=
|
97
|
-
[2]:
|
98
|
+
[1]: https://www.bountysource.com/cart?amount=100¤cy=USD&team_id=gotransverse-tract-api-rails
|
99
|
+
[2]: http://img.shields.io/badge/donate-$100-brightgreen.svg (Click here to donate)
|
100
|
+
|
101
|
+
[![Click here to donate][4]][3]
|
102
|
+
|
103
|
+
[3]: https://www.bountysource.com/cart?amount=250¤cy=USD&team_id=gotransverse-tract-api-rails
|
104
|
+
[4]: http://img.shields.io/badge/donate-$250-brightgreen.svg (Click here to donate)
|
105
|
+
|
106
|
+
[![Click here to donate][6]][5]
|
107
|
+
|
108
|
+
[5]: https://www.bountysource.com/cart?amount=500¤cy=USD&team_id=gotransverse-tract-api-rails
|
109
|
+
[6]: http://img.shields.io/badge/donate-$500-brightgreen.svg (Click here to donate)
|
110
|
+
|
111
|
+
Or more! :)
|
@@ -4,6 +4,34 @@ module GoTransverseTractApi
|
|
4
4
|
|
5
5
|
class GLAccount
|
6
6
|
|
7
|
+
#
|
8
|
+
# @param {Long} eid
|
9
|
+
#
|
10
|
+
def self.find_by_eid eid
|
11
|
+
GoTransverseTractApi.get_response_for(self.class, {eid: eid})
|
12
|
+
end
|
13
|
+
|
14
|
+
#
|
15
|
+
# @param {Long} general_ledger_eid
|
16
|
+
#
|
17
|
+
def self.find_by_general_ledger_eid general_ledger_eid
|
18
|
+
GoTransverseTractApi.get_response_for(self.class, {general_ledger_eid: general_ledger_eid})
|
19
|
+
end
|
20
|
+
|
21
|
+
#
|
22
|
+
# @param {String} name
|
23
|
+
#
|
24
|
+
def self.find_by_name name
|
25
|
+
GoTransverseTractApi.get_response_for(self.class, {name: name})
|
26
|
+
end
|
27
|
+
|
28
|
+
#
|
29
|
+
# @param {String} account_num
|
30
|
+
#
|
31
|
+
def self.find_by_account_num account_num
|
32
|
+
GoTransverseTractApi.get_response_for(self.class, {account_num: account_num})
|
33
|
+
end
|
34
|
+
|
7
35
|
end
|
8
36
|
|
9
37
|
end
|
@@ -4,6 +4,27 @@ module GoTransverseTractApi
|
|
4
4
|
|
5
5
|
class GLAccountCategory
|
6
6
|
|
7
|
+
#
|
8
|
+
# @param {Long} eid
|
9
|
+
#
|
10
|
+
def self.find_by_eid eid
|
11
|
+
GoTransverseTractApi.get_response_for(self.class, {eid: eid})
|
12
|
+
end
|
13
|
+
|
14
|
+
#
|
15
|
+
# @param {String} name
|
16
|
+
#
|
17
|
+
def self.find_by_name name
|
18
|
+
GoTransverseTractApi.get_response_for(self.class, {name: name})
|
19
|
+
end
|
20
|
+
|
21
|
+
#
|
22
|
+
# @param {String} status
|
23
|
+
#
|
24
|
+
def self.find_by_status status
|
25
|
+
GoTransverseTractApi.get_response_for(self.class, {status: status})
|
26
|
+
end
|
27
|
+
|
7
28
|
end
|
8
29
|
|
9
30
|
end
|
@@ -4,6 +4,20 @@ module GoTransverseTractApi
|
|
4
4
|
|
5
5
|
class GLAccountingEntry
|
6
6
|
|
7
|
+
#
|
8
|
+
# @param {Long} eid
|
9
|
+
#
|
10
|
+
def self.find_by_eid eid
|
11
|
+
GoTransverseTractApi.get_response_for(self.class, {eid: eid})
|
12
|
+
end
|
13
|
+
|
14
|
+
#
|
15
|
+
# @param {Long} gl_account_eid
|
16
|
+
#
|
17
|
+
def self.find_by_gl_account_eid gl_account_eid
|
18
|
+
GoTransverseTractApi.get_response_for(self.class, {gl_account_eid: gl_account_eid})
|
19
|
+
end
|
20
|
+
|
7
21
|
end
|
8
22
|
|
9
23
|
end
|
@@ -4,6 +4,34 @@ module GoTransverseTractApi
|
|
4
4
|
|
5
5
|
class GLAggregateBatch
|
6
6
|
|
7
|
+
#
|
8
|
+
# @param {Long} eid
|
9
|
+
#
|
10
|
+
def self.find_by_eid eid
|
11
|
+
GoTransverseTractApi.get_response_for(self.class, {eid: eid})
|
12
|
+
end
|
13
|
+
|
14
|
+
#
|
15
|
+
# @param {String} status
|
16
|
+
#
|
17
|
+
def self.find_by_status status
|
18
|
+
GoTransverseTractApi.get_response_for(self.class, {status: status})
|
19
|
+
end
|
20
|
+
|
21
|
+
#
|
22
|
+
# @param {Boolean} exported
|
23
|
+
#
|
24
|
+
def self.find_by_exported exported
|
25
|
+
GoTransverseTractApi.get_response_for(self.class, {exported: exported})
|
26
|
+
end
|
27
|
+
|
28
|
+
#
|
29
|
+
# @param {DateTime} posted_on
|
30
|
+
#
|
31
|
+
def self.find_by_posted_on posted_on
|
32
|
+
GoTransverseTractApi.get_response_for(self.class, {posted_on: posted_on})
|
33
|
+
end
|
34
|
+
|
7
35
|
end
|
8
36
|
|
9
37
|
end
|
@@ -4,6 +4,34 @@ module GoTransverseTractApi
|
|
4
4
|
|
5
5
|
class GLAggregateEntry
|
6
6
|
|
7
|
+
#
|
8
|
+
# @param {Long} eid
|
9
|
+
#
|
10
|
+
def self.find_by_eid eid
|
11
|
+
GoTransverseTractApi.get_response_for(self.class, {eid: eid})
|
12
|
+
end
|
13
|
+
|
14
|
+
#
|
15
|
+
# @param {Long} gl_account_eid
|
16
|
+
#
|
17
|
+
def self.find_by_gl_account_eid gl_account_eid
|
18
|
+
GoTransverseTractApi.get_response_for(self.class, {gl_account_eid: gl_account_eid})
|
19
|
+
end
|
20
|
+
|
21
|
+
#
|
22
|
+
# @param {Long} gl_aggregate_batch_eid
|
23
|
+
#
|
24
|
+
def self.find_by_gl_aggregate_batch_eid gl_aggregate_batch_eid
|
25
|
+
GoTransverseTractApi.get_response_for(self.class, {gl_aggregate_batch_eid: gl_aggregate_batch_eid})
|
26
|
+
end
|
27
|
+
|
28
|
+
#
|
29
|
+
# @param {DateTime} posted_on
|
30
|
+
#
|
31
|
+
def self.find_by_posted_on posted_on
|
32
|
+
GoTransverseTractApi.get_response_for(self.class, {posted_on: posted_on})
|
33
|
+
end
|
34
|
+
|
7
35
|
end
|
8
36
|
|
9
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gotransverse-tract-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julien DeFrance
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|