Sha256: 89132ff16bd8c895789323193b1c38237eada74a68518424b943ce62aeb60674
Contents?: true
Size: 168 Bytes
Versions: 1
Compression:
Stored size: 168 Bytes
Contents
module Embratel class Call < Payable NUMBER_CALLED_REGEXP = /^\d{10}$/ def valid? super && !!(number_called =~ NUMBER_CALLED_REGEXP) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
embratel-1.1.0 | lib/embratel/call.rb |