lib/kintone/command.rb in kintone-0.0.4 vs lib/kintone/command.rb in kintone-0.0.5
- old
+ new
@@ -1,3 +1,12 @@
-module Kintone::Command
-
+require 'kintone/api'
+
+class Kintone::Command
+ def self.path
+ '/'
+ end
+
+ def initialize(api)
+ @api = api
+ @url = @api.get_url(self.class.path)
+ end
end