lib/rents.rb in rents-0.0.0 vs lib/rents.rb in rents-0.1.0
- old
+ new
@@ -1,9 +1,34 @@
-#require "rents/version"
+# Libs/Gems or Ruby classes
+require 'json'
+require 'curl'
+require 'rest_client'
+# Overrides
+require 'rents/hash'
+
+# Gem files
+require "rents/version"
+require "rents/connection"
+require "rents/status"
+require "rents/transaction"
+
module Rents
- class Transaction
- def self.hi
- puts 'Hi there!'
- end
+ @@app_id = nil
+ @@secret_key = nil
+
+ def self.app_id=(app_id)
+ @@app_id = app_id
+ end
+
+ def self.app_id
+ @@app_id
+ end
+
+ def self.secret_key=(secret_key)
+ @@secret_key = secret_key
+ end
+
+ def self.secret_key
+ @@secret_key
end
end