Class: RHACK::CodeIndiffirentPage
- Defined in:
- lib/rhack/clients/oauth.rb
Instance Attribute Summary
Attributes inherited from Page
#body, #curl, #curl_res, #data, #doc, #failed, #js, #loc, #res, #title
Instance Method Summary collapse
Methods inherited from Page
#at, #dict, #empty?, #eval_js, #eval_string, #expand_link, #failed?, #find, #flatten_dict, #form, #get_link, #get_links, #get_src, #get_srcs, #initialize, #inspect, #load_scripts, #map, #map_json, #parse, #retry?, #size, #submit, #text, #texts, #to_html, #to_xml, #url, #utf!
Constructor Details
This class inherits a constructor from RHACK::Page
Instance Method Details
#process(c, opts = {}) ⇒ Object
9 10 11 12 |
# File 'lib/rhack/clients/oauth.rb', line 9 def process(c, opts={}) c.res.instance_variable_set :@code, 200 super end |