diff options
Diffstat (limited to 'lib/evernote/client.rb')
| -rw-r--r-- | lib/evernote/client.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/evernote/client.rb b/lib/evernote/client.rb index 1522d59..6293f17 100644 --- a/lib/evernote/client.rb +++ b/lib/evernote/client.rb @@ -1,6 +1,5 @@ module Evernote class Client - attr_reader :client THRIFT_DEFAULTS = { :transport => Thrift::HTTPClientTransport @@ -10,5 +9,9 @@ module Evernote thrift_opts = THRIFT_DEFAULTS.merge(thrift_client_options) @client = ThriftClient.new(klass, url, thrift_opts) end + + def method_missing(name, *args, &block) + @client.send(name, *args, &block) + end end end |
