Method: AlphaEss#set_custom_use_ess_setting

Defined in:
lib/alpha_ess.rb

#set_custom_use_ess_setting(hash = {}) ⇒ Object



51
52
53
54
55
56
# File 'lib/alpha_ess.rb', line 51

def set_custom_use_ess_setting(hash={})
    data = self.get_custom_use_ess_setting
    data.update(hash)
    url = "https://cloud.alphaess.com/api/Account/CustomUseESSSetting"
    res = HTTParty.post(url, headers: header(), body: data.to_json)
end