lib/zemanta/configuration.rb in zemanta_client-0.0.8 vs lib/zemanta/configuration.rb in zemanta_client-0.0.9
- old
+ new
@@ -1,8 +1,9 @@
module Zemanta
class Configuration
- attr_accessor :custom_request_opts, :format, :api_key, :cache_storage
+ attr_accessor :custom_request_opts, :format, :api_key, :cache_storage,
+ :character_limit
def initialize
@custom_request_opts = {}
@format = "json"
@cache_storage = NullStorage.new
@@ -23,6 +24,6 @@
def actual_api_key
@api_key || ENV["ZEMANTA_KEY"] or raise "You need to specify ZEMANTA_KEY in your environment or set api_key in your config"
end
end
-end
\ No newline at end of file
+end