endeca_on_demand 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/endeca_on_demand/business_rule.rb +7 -1
- data/lib/endeca_on_demand/business_rule_property.rb +6 -0
- data/lib/endeca_on_demand/crumb.rb +6 -0
- data/lib/endeca_on_demand/dimension.rb +7 -1
- data/lib/endeca_on_demand/dimension_value.rb +6 -0
- data/lib/endeca_on_demand/dimension_value_id.rb +6 -0
- data/lib/endeca_on_demand/record.rb +6 -0
- data/lib/endeca_on_demand/search.rb +6 -0
- data/lib/endeca_on_demand/version.rb +1 -1
- metadata +1 -1
@@ -1,6 +1,8 @@
|
|
1
1
|
class EndecaOnDemand
|
2
2
|
class BusinessRule
|
3
3
|
|
4
|
+
attr_reader :properties_array
|
5
|
+
|
4
6
|
def initialize(business_rule)
|
5
7
|
@properties_array = []
|
6
8
|
@records = []
|
@@ -11,7 +13,11 @@ class EndecaOnDemand
|
|
11
13
|
end
|
12
14
|
end
|
13
15
|
|
14
|
-
|
16
|
+
def method_missing(method, *args, &block)
|
17
|
+
unless self.instance_variables.include?(:"@#{method}")
|
18
|
+
"N/A"
|
19
|
+
end
|
20
|
+
end
|
15
21
|
|
16
22
|
end
|
17
23
|
end
|
@@ -1,6 +1,8 @@
|
|
1
1
|
class EndecaOnDemand
|
2
2
|
class Dimension
|
3
3
|
|
4
|
+
attr_reader :dimension_values
|
5
|
+
|
4
6
|
def initialize(dimension)
|
5
7
|
@dimension_values = []
|
6
8
|
|
@@ -10,7 +12,11 @@ class EndecaOnDemand
|
|
10
12
|
end
|
11
13
|
end
|
12
14
|
|
13
|
-
|
15
|
+
def method_missing(method, *args, &block)
|
16
|
+
unless self.instance_variables.include?(:"@#{method}")
|
17
|
+
"N/A"
|
18
|
+
end
|
19
|
+
end
|
14
20
|
|
15
21
|
end
|
16
22
|
end
|