Sha256: a04f98164b9b153683f3b0cde12309f66367c04fade2814e3d84278a03133dee
Contents?: true
Size: 582 Bytes
Versions: 8
Compression:
Stored size: 582 Bytes
Contents
require 'genesis_ruby/errors/parameter_error' module GenesisRuby module Api module Mixins module Requests module CustomerAddress # Mixin CustomerInfoAttributes module CustomerInfoAttributes attr_reader :customer_email attr_accessor :customer_phone # Email of the customer def customer_email=(value) raise GenesisRuby::ParameterError unless value =~ /\A.+@.+\..+\Z/ @customer_email = value end end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems