Class: ProxyAPI::Features

Inherits:
Resource show all
Defined in:
lib/proxy_api/features.rb

Instance Attribute Summary

Attributes inherited from Resource

#url

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Features


3
4
5
6
# File 'lib/proxy_api/features.rb', line 3

def initialize args
  @url  = args[:url] + "/features"
  super args
end

Instance Method Details

#featuresObject


8
9
10
# File 'lib/proxy_api/features.rb', line 8

def features
  parse get
end