summaryrefslogtreecommitdiffstats
path: root/lib/iotas/link.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-18 17:22:53 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-18 17:22:53 +0200
commitb838d426001c0dbbea1af753a49f6eaf2f4e2443 (patch)
tree6a8f5a86cd4e5392ad77f8fc98a5c00c89983416 /lib/iotas/link.rb
parent250bfe34771aa568d83ca1a1ce0e875e14d39ed6 (diff)
downloadedoors-ruby-b838d426001c0dbbea1af753a49f6eaf2f4e2443.zip
edoors-ruby-b838d426001c0dbbea1af753a49f6eaf2f4e2443.tar.gz
add VERSION, move some constants
Diffstat (limited to 'lib/iotas/link.rb')
-rw-r--r--lib/iotas/link.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/iotas/link.rb b/lib/iotas/link.rb
index b1fd9ba..073ca1f 100644
--- a/lib/iotas/link.rb
+++ b/lib/iotas/link.rb
@@ -21,6 +21,12 @@
#
module Iotas
#
+ LNK_SRC = 'edoors_lnk_src'.freeze
+ LNK_DSTS = 'edoors_lnk_dsts'.freeze
+ LNK_FIELDS = 'edoors_lnk_fields'.freeze
+ LNK_CONDF = 'edoors_lnk_condf'.freeze
+ LNK_CONDV = 'edoors_lnk_condv'.freeze
+ #
class Link
#
def initialize src, dsts, fields=nil, cond_fields=nil, cond_value=nil