Class: Admincredible::Resources::Compatibility

Inherits:
Admincredible::Resource show all
Defined in:
lib/admincredible/resources/Compatibility.rb

Instance Attribute Summary

Attributes inherited from Admincredible::Resource

#client

Instance Method Summary collapse

Methods inherited from Admincredible::Resource

#config, #connection, #initialize

Constructor Details

This class inherits a constructor from Admincredible::Resource

Instance Method Details

#add_exceptionsObject



8
9
10
# File 'lib/admincredible/resources/Compatibility.rb', line 8

def add_exceptions
  client.jget('compatibility', 'add_exceptions', {:accept_terms => true})
end

#statusObject



4
5
6
# File 'lib/admincredible/resources/Compatibility.rb', line 4

def status
  client.jget('compatibility', 'status')['data']
end