Class: Logistics::Core::Client

Inherits:
ApplicationRecord show all
Defined in:
app/models/logistics/core/client.rb

Constant Summary collapse

VALID_EMAIL_REGEX =
/\A[\w+\-.]+@[a-z\d\-.]+\.[a-z]+\z/i

Class Method Summary collapse

Methods inherited from ApplicationRecord

as_json

Class Method Details

.build(options = {}) ⇒ Object



16
17
18
# File 'app/models/logistics/core/client.rb', line 16

def self.build(options = {})
  Client.new(options)
end