DinnerLab_Plaid 0.0.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 +7 -0
- data/bin/DinnerLab_Plaid +2 -0
- data/lib/DinnerLab_Plaid.rb +21 -0
- data/lib/DinnerLab_Plaid/translator.rb +27 -0
- metadata +48 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6f52a47400d95c2c5bc065afc6410c7530a8514a
|
4
|
+
data.tar.gz: 6a9328df46ce9b16d1eba33e96433e96cf93db60
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 879ce02a9ed90aa53e2a5e92084fae05b18d5af76f4c57e668f5573e08ff09474f18c66ace38d83e28939977c5a5a1641dba1d28e573195fa122eb9db0a41482
|
7
|
+
data.tar.gz: c83875c075a06a3f43de2871f1721e0bca047c77f688764a27d685cbdf5b676d36100eb17c3e4d31322d648eafbad348fab49771a06aa3e06d7ebe801f5289c6
|
data/bin/DinnerLab_Plaid
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
class DinnerLab_Plaid
|
2
|
+
|
3
|
+
def self.hi (language = "english")
|
4
|
+
translator = Translator.new(language)
|
5
|
+
translator.hi
|
6
|
+
end
|
7
|
+
|
8
|
+
def test_client
|
9
|
+
#this is the client info that you have been given
|
10
|
+
#client = Plaid.client(username, email, password, institution, access_token = nil)
|
11
|
+
testModule.preview;
|
12
|
+
end
|
13
|
+
|
14
|
+
require 'DinnerLab_Plaid/translator'
|
15
|
+
require 'plaid'
|
16
|
+
#require 'DinnerLab_Plaid/client/testModule'
|
17
|
+
#include testModule
|
18
|
+
|
19
|
+
puts "WTF!"
|
20
|
+
|
21
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
class Translator < DinnerLab_Plaid
|
2
|
+
|
3
|
+
def initialize(language)
|
4
|
+
@language = language
|
5
|
+
|
6
|
+
end
|
7
|
+
|
8
|
+
def hi
|
9
|
+
if (@language == 'korean')
|
10
|
+
hello = "안녕하세요."
|
11
|
+
puts hello
|
12
|
+
hello
|
13
|
+
elsif (@language == 'english')
|
14
|
+
hello = "Hello World."
|
15
|
+
puts hello
|
16
|
+
hello
|
17
|
+
else
|
18
|
+
hello = "Ugh, hello..."
|
19
|
+
puts hello
|
20
|
+
hello
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
end
|
metadata
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: DinnerLab_Plaid
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Kevin Suh
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-01-26 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: States hello world in different languages, and will also integrate Plaid
|
14
|
+
email: ksuh@dinnerlab.com
|
15
|
+
executables:
|
16
|
+
- DinnerLab_Plaid
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- bin/DinnerLab_Plaid
|
21
|
+
- lib/DinnerLab_Plaid.rb
|
22
|
+
- lib/DinnerLab_Plaid/translator.rb
|
23
|
+
homepage: http://dinnerlab.com
|
24
|
+
licenses:
|
25
|
+
- MIT
|
26
|
+
metadata: {}
|
27
|
+
post_install_message:
|
28
|
+
rdoc_options: []
|
29
|
+
require_paths:
|
30
|
+
- lib
|
31
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
36
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
requirements: []
|
42
|
+
rubyforge_project:
|
43
|
+
rubygems_version: 2.4.5
|
44
|
+
signing_key:
|
45
|
+
specification_version: 4
|
46
|
+
summary: Test Integrate Plaid
|
47
|
+
test_files: []
|
48
|
+
has_rdoc:
|