mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-16 12:12:30 +08:00
23 lines
311 B
JavaScript
23 lines
311 B
JavaScript
export default class AdRequest {
|
|
|
|
constructor() {
|
|
this._props = {
|
|
keywords: [],
|
|
};
|
|
}
|
|
|
|
build() {
|
|
return this._props;
|
|
}
|
|
|
|
addTestDevice() {
|
|
this._props.testDevice = true;
|
|
return this;
|
|
}
|
|
|
|
addKeyword(word: string) {
|
|
this._props.keywords.push(word);
|
|
return this;
|
|
}
|
|
}
|