Module: Thrift::Client

Defined in:
lib/thrift_client/thrift.rb

Instance Method Summary collapse

Instance Method Details

#timeoutObject



36
37
38
# File 'lib/thrift_client/thrift.rb', line 36

def timeout
  @iprot.trans.timeout
end

#timeout=(timeout) ⇒ Object



32
33
34
# File 'lib/thrift_client/thrift.rb', line 32

def timeout=(timeout)
  @iprot.trans.timeout = timeout
end