lib/omise/object.rb in omise-0.5.0 vs lib/omise/object.rb in omise-0.5.1
- old
+ new
@@ -1,8 +1,7 @@
require "omise/config"
require "omise/attributes"
-require "omise/resource"
module Omise
class OmiseObject
include Attributes
@@ -41,10 +40,10 @@
def resource_url
Omise.api_url
end
def resource_key
- Omise.api_key
+ Omise.secret_api_key
end
end
private