Module: DLDInternet::OpenSRS::API::Domain::MixIns::Modify::DomainLockState
- Included in:
- DLDInternet::OpenSRS::API::Domain::Modify
- Defined in:
- lib/dldinternet/opensrs/api/domain/mixins/modify/domainlockstate.rb
Instance Method Summary collapse
-
#SetDomainLockState(domain, state = 1) ⇒ Object
noinspection RubyUnnecessaryReturnValue.
Instance Method Details
#SetDomainLockState(domain, state = 1) ⇒ Object
noinspection RubyUnnecessaryReturnValue
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/dldinternet/opensrs/api/domain/mixins/modify/domainlockstate.rb', line 12 def SetDomainLockState(domain,state=1) data = { object: 'DOMAIN', action: 'MODIFY', attributes: { type: 'lock_state', data: 'status', domain: domain, lock_state: state, affect_domains: 0, }, } getResponse(data, 'response_text') end |