class Digicert::Organization
Private Instance Methods
resource_path()
click to toggle source
# File lib/digicert/organization.rb, line 11 def resource_path "organization" end
validate(name:, address:, zip:, city:, state:, country:, telephone:, container:, organization_contact:, **attributes)
click to toggle source
# File lib/digicert/organization.rb, line 15 def validate(name:, address:, zip:, city:, state:, country:, telephone:, container:, organization_contact:, **attributes) required_attributes = { name: name, address: address, zip: zip, city: city, state: state, country: country, telephone: telephone, container: container, organization_contact: validate_contact(organization_contact), } required_attributes.merge(attributes) end
validate_contact(first_name:, last_name:, email:, telephone:, **attrs)
click to toggle source
# File lib/digicert/organization.rb, line 32 def validate_contact(first_name:, last_name:, email:, telephone:, **attrs) required_attributes = { first_name: first_name, last_name: last_name, email: email, telephone: telephone, } required_attributes.merge(attrs) end