jananganamana 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jananganamana/version.rb +1 -1
- data/lib/jananganamana.rb +5 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f3b039eaa8373fa2f09fae384cbbdbeab0d85a948118db672b9685b59cbc0f7
|
4
|
+
data.tar.gz: a05d7df9a5fea0640a93b76aa8932f05341f2182b5c7b1460606131420c31d5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e77b8d682560d9d9b05f21114f8be0b0e4ac399c78586b4bcfc2733879289dca81feada81599c73fa577198ea69f42bcf94cd3885ddb4b022273a72f73ce4ced
|
7
|
+
data.tar.gz: f7c45cea9e7e255a5fd5ec16837f9eaf3646d9cae0d7105caa742016039f2277dac5ce12aaefcdef904ee0818f288a6dcb3667ccdb21b93f1dc4a7fea12369b6
|
data/lib/jananganamana.rb
CHANGED
@@ -6,10 +6,13 @@ module Jananganamana
|
|
6
6
|
class Error < StandardError; end
|
7
7
|
# Your code goes here...
|
8
8
|
class Ganesh1
|
9
|
+
|
9
10
|
def self.ganesh
|
10
11
|
puts "ganesh"
|
11
12
|
end
|
12
|
-
|
13
|
-
|
13
|
+
end
|
14
|
+
class User < ApplicationRecord
|
15
|
+
validates :name,presence:true
|
16
|
+
validates :email,presence:true
|
14
17
|
end
|
15
18
|
end
|