Method: SystemBrowser::Request#initialize
- Defined in:
- lib/system_browser/request.rb
#initialize(json) ⇒ Request
Returns a new instance of Request.
9 10 11 12 13 14 15 16 17 |
# File 'lib/system_browser/request.rb', line 9 def initialize(json) @req = self.get_data(json) @data = @req['system_browser_server'] @action = nil @resource = nil @scope = nil @other = nil end |