class Ey::Core::Client::Feature
Public Instance Methods
disable!(account)
click to toggle source
# File lib/ey-core/models/feature.rb, line 23 def disable!(account) params = { "account" => account.id, "feature" => { "id" => self.id } } self.connection.disable_feature(params) end
enable!(account)
click to toggle source
# File lib/ey-core/models/feature.rb, line 12 def enable!(account) params = { "account" => account.id, "feature" => { "id" => self.id, } } self.connection.enable_feature(params) end