lib/quandl/client/models/source.rb in quandl_client-0.0.13 vs lib/quandl/client/models/source.rb in quandl_client-0.0.14
- old
+ new
@@ -26,10 +26,10 @@
###############
# VALIDATIONS #
###############
- validates :code, presence: true, length: { minimum: 2 }, format: { with: /([A-Z][A-Z0-9_]+)/ }
+ validates :code, presence: true, length: { minimum: 2 }, format: { with: /([A-Z0-9_]+)/ }
validates :host, :name, presence: true
##############
# PROPERTIES #
\ No newline at end of file