agris 0.10.0 → 0.11.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4ca59aa46ef40059a98f12291e6433e2dd81e310c552f45816c4f5f0b64f15d1
|
|
4
|
+
data.tar.gz: adc82e55c4d84649bf5a3758900d3076c1b4521fe5396a1be4d73dda21149787
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a3fb735daf4a387d809a32ed37e466b38ba32575f4649ad86d2c231b609c00fb185b641f1b8471299877f77a712cf4dd0ca52574d634d60cc87aa0dddcdf2f83
|
|
7
|
+
data.tar.gz: 9aa2ed7a02355c603b57ebcc9d7bdf75aa537f20e7062bd7bec85e86a13ab621da82fcf4de3feb1113057371a1d8bcc13db7d046421e4bfdf34e28468088134d
|
|
@@ -82,6 +82,11 @@ module Agris
|
|
|
82
82
|
freight_exchange_rate_date
|
|
83
83
|
primary_schedule
|
|
84
84
|
option_quantity
|
|
85
|
+
tran_code_1
|
|
86
|
+
tran_code_2
|
|
87
|
+
tran_code_3
|
|
88
|
+
tran_code_4
|
|
89
|
+
tran_code_5
|
|
85
90
|
).freeze
|
|
86
91
|
|
|
87
92
|
attr_accessor(*ATTRIBUTE_NAMES)
|
|
@@ -92,23 +97,8 @@ module Agris
|
|
|
92
97
|
@record_type = 'GRNC1'
|
|
93
98
|
end
|
|
94
99
|
|
|
95
|
-
def add_trans_code(trans_code)
|
|
96
|
-
@trans_codes ||= []
|
|
97
|
-
@trans_codes << trans_code
|
|
98
|
-
|
|
99
|
-
self
|
|
100
|
-
end
|
|
101
|
-
|
|
102
|
-
def trans_codes
|
|
103
|
-
@trans_codes || []
|
|
104
|
-
end
|
|
105
|
-
|
|
106
100
|
def records
|
|
107
|
-
[self]
|
|
108
|
-
end
|
|
109
|
-
|
|
110
|
-
def xml_ignore_attributes
|
|
111
|
-
%i(trans_codes)
|
|
101
|
+
[self]
|
|
112
102
|
end
|
|
113
103
|
end
|
|
114
104
|
end
|
data/lib/agris/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: agris
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.11.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Gray
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2024-
|
|
12
|
+
date: 2024-03-07 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: savon
|
|
@@ -174,7 +174,6 @@ files:
|
|
|
174
174
|
- lib/agris/api/grain/grain_module.rb
|
|
175
175
|
- lib/agris/api/grain/new_contract.rb
|
|
176
176
|
- lib/agris/api/grain/new_contract_schedule.rb
|
|
177
|
-
- lib/agris/api/grain/new_contract_schedule_transcode.rb
|
|
178
177
|
- lib/agris/api/grain/new_ticket.rb
|
|
179
178
|
- lib/agris/api/grain/new_ticket_application.rb
|
|
180
179
|
- lib/agris/api/grain/new_ticket_remark.rb
|
|
@@ -215,7 +214,6 @@ files:
|
|
|
215
214
|
- lib/agris/api/post_result.rb
|
|
216
215
|
- lib/agris/api/remark.rb
|
|
217
216
|
- lib/agris/api/support.rb
|
|
218
|
-
- lib/agris/api/tran_code.rb
|
|
219
217
|
- lib/agris/client.rb
|
|
220
218
|
- lib/agris/context.rb
|
|
221
219
|
- lib/agris/credentials.rb
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
module Agris
|
|
3
|
-
module Api
|
|
4
|
-
module Grain
|
|
5
|
-
class NewContractScheduleTranscode
|
|
6
|
-
include XmlModel
|
|
7
|
-
|
|
8
|
-
ATTRIBUTE_NAMES = %w(
|
|
9
|
-
number
|
|
10
|
-
code
|
|
11
|
-
description
|
|
12
|
-
).freeze
|
|
13
|
-
|
|
14
|
-
attr_reader :record_type
|
|
15
|
-
|
|
16
|
-
def initialize(hash = {})
|
|
17
|
-
super
|
|
18
|
-
|
|
19
|
-
@record_type = 'GRNC2'
|
|
20
|
-
end
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
end
|
data/lib/agris/api/tran_code.rb
DELETED