diff options
Diffstat (limited to 'lib/evernote/client.rb')
| -rw-r--r-- | lib/evernote/client.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/evernote/client.rb b/lib/evernote/client.rb index 1141087..80eb484 100644 --- a/lib/evernote/client.rb +++ b/lib/evernote/client.rb @@ -7,7 +7,11 @@ module Evernote def initialize(klass, url, thrift_client_options = {}) thrift_opts = THRIFT_DEFAULTS.merge(thrift_client_options) - ThriftClient.new(klass, url, thrift_opts) + @client = ThriftClient.new(klass, url, thrift_opts) + end + + def method_missing(name, *args, &block) + @client.send(name, *args, &block) end end end
\ No newline at end of file |
