Module: ClientSuccess::Schema::Contact
- Defined in:
- lib/client_success/schema/contact/create.rb,
lib/client_success/schema/contact/update.rb
Constant Summary collapse
- Create =
TODO: upgrade dry types to use latest schema functions
Types::Hash.schema( email: Types::Strict::String, phone: Types::Strict::String.optional, mobile: Types::Strict::String.optional, title: Types::Strict::String.optional, linkedin_url: Types::Strict::String, first_name: Types::Strict::String.optional, last_name: Types::Strict::String.optional, executive_sponsor: Types::Strict::Bool, advocate: Types::Strict::Bool, champion: Types::Strict::Bool, starred: Types::Strict::Bool, street: Types::Strict::String, city: Types::Strict::String, contact_state: Types::Strict::String, zip: Types::Coercible::String, country: Types::Strict::String, timezone: Types::Strict::String )
- Update =
TODO: upgrade dry types to use latest schema functions
Types::Hash.schema( email: Types::Strict::String, phone: Types::Strict::String.optional, mobile: Types::Strict::String.optional, title: Types::Strict::String.optional, linkedin_url: Types::Strict::String.optional, first_name: Types::Strict::String.optional, last_name: Types::Strict::String.optional, executive_sponsor: Types::Strict::Bool, advocate: Types::Strict::Bool, champion: Types::Strict::Bool, starred: Types::Strict::Bool, street: Types::Strict::String.optional, city: Types::Strict::String.optional, contact_state: Types::Strict::String.optional, zip: Types::Coercible::String.optional, country: Types::Strict::String.optional, timezone: Types::Strict::String.optional)