Fixup doc

This commit is contained in:
DanB
2013-07-17 14:41:21 +02:00
parent e29f295cb0
commit 09f5db1a31
2 changed files with 10 additions and 29 deletions

View File

@@ -124,6 +124,7 @@ type AttrSetRatingProfile struct {
RateProfileId string
}
// Process dependencies and load a specific rating profile from storDb into dataDb.
func (self *Apier) SetRatingProfile(attrs AttrSetRatingProfile, reply *string) error {
if missing := utils.MissingStructFields(&attrs, []string{"TPid", "RateProfileId"}); len(missing) != 0 {
return fmt.Errorf("%s:%v", utils.ERR_MANDATORY_IE_MISSING, missing)

View File

@@ -205,21 +205,6 @@ Only the Id field must be set for get operation.
Example
GetDestination(attr \*AttrDestination, reply \*AttrDestination)
SetDestination
++++++++++++++
Sets the destinations for the specified tag.
::
type AttrDestination struct{
Id string
Prefixes []string
}
Example
SetDestination(attr *AttrDestination, reply \*rater.Destination)
GetBalance
++++++++++
@@ -330,19 +315,14 @@ AddAcount
Example
AddAccount(attr \*AttrAccount, reply \*float64)
SetRatingProfile
++++++++++++++++
Sets the rating profile for the specified subject.
::
type AttrSetRatingProfile struct {
TPID string
RatingProfileId string
}
Example
SetRatingProfile(attr \*AttrSetRatingProfile, reply \*float64)
RatingProfiles
~~~~~~~~~~~~~~
.. toctree::
:maxdepth: 2
api_ratingprofiles