arusarka-mingle4r 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README +18 -0
- metadata +1 -1
data/README
CHANGED
|
@@ -70,6 +70,24 @@ m_c.cards
|
|
|
70
70
|
|
|
71
71
|
cards will be an array of activeresoure objects.
|
|
72
72
|
|
|
73
|
+
D) Getting custom properties for any resource
|
|
74
|
+
---------------------------------------------
|
|
75
|
+
|
|
76
|
+
m_c = Mingle4r::MingleClient.new('http://localhost:8080', 'testuser', 'password')
|
|
77
|
+
m_c.proj_id = 'great_mingle_project'
|
|
78
|
+
card = m_c.cards[0]
|
|
79
|
+
card.custom_properties => returns an array of hashes, {property name => property method name}
|
|
80
|
+
|
|
81
|
+
E) Getting a particular property
|
|
82
|
+
--------------------------------
|
|
83
|
+
|
|
84
|
+
gets a particular property value when the name of the property(as is displayed in Mingle) is given
|
|
85
|
+
|
|
86
|
+
m_c = Mingle4r::MingleClient.new('http://localhost:8080', 'testuser', 'password')
|
|
87
|
+
m_c.proj_id = 'great_mingle_project'
|
|
88
|
+
card = m_c.cards[0]
|
|
89
|
+
card.property_value('Status')
|
|
90
|
+
|
|
73
91
|
== REQUIREMENTS:
|
|
74
92
|
|
|
75
93
|
1) active_resource gem, it would be automatically taken care of
|