Class: Textmarks
Class Method Summary collapse
Class Method Details
.method_missing(symbol, *args) ⇒ Object
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/textmarks.rb', line 13 def method_missing(symbol, *args) if @package result = post "/#{@package}/#{symbol}/", :query => args.first @package = nil result else @package = symbol self end end |