kuehne-nagel-despatch-interface 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/kn_actions.rb +21 -0
- metadata +56 -0
data/lib/kn_actions.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
class KnActions
|
2
|
+
|
3
|
+
def initialize(order_id)
|
4
|
+
Rails.logger.info "KnActions Started..."
|
5
|
+
Rails.logger.info "KnActions order_id: " + order_id.inspect
|
6
|
+
@order_id = order_id
|
7
|
+
end
|
8
|
+
|
9
|
+
def generate_xml
|
10
|
+
|
11
|
+
end
|
12
|
+
|
13
|
+
def download_pdf
|
14
|
+
|
15
|
+
end
|
16
|
+
|
17
|
+
def submit_to_kn
|
18
|
+
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
metadata
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: kuehne-nagel-despatch-interface
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Henrique Ferreira
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-01-15 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rspec
|
16
|
+
requirement: &2165854820 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *2165854820
|
25
|
+
description: Library to integrate K+N logistic API to Ruby on Rails Applications.
|
26
|
+
email: henrique@madebymade.co.uk
|
27
|
+
executables: []
|
28
|
+
extensions: []
|
29
|
+
extra_rdoc_files: []
|
30
|
+
files:
|
31
|
+
- lib/kn_actions.rb
|
32
|
+
homepage: https://github.com/madebymade/kuehne-nagel-despatch-interface
|
33
|
+
licenses: []
|
34
|
+
post_install_message:
|
35
|
+
rdoc_options: []
|
36
|
+
require_paths:
|
37
|
+
- lib
|
38
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
45
|
+
none: false
|
46
|
+
requirements:
|
47
|
+
- - ! '>='
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0'
|
50
|
+
requirements: []
|
51
|
+
rubyforge_project:
|
52
|
+
rubygems_version: 1.8.10
|
53
|
+
signing_key:
|
54
|
+
specification_version: 3
|
55
|
+
summary: Kuehne + Nagel Despatch Interface
|
56
|
+
test_files: []
|