2012-08-25 10:38:29 +00:00
|
|
|
/* Copyright (c) 2012 Google Inc.
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
//
|
|
|
|
// GTLServicePlus.m
|
|
|
|
//
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// NOTE: This file is generated from Google APIs Discovery Service.
|
|
|
|
// Service:
|
|
|
|
// Google+ API (plus/v1moments)
|
|
|
|
// Description:
|
|
|
|
// The Google+ API enables developers to build on top of the Google+ platform.
|
|
|
|
// Documentation:
|
2013-01-31 21:22:37 +00:00
|
|
|
// https://developers.google.com/+/history/
|
2012-08-25 10:38:29 +00:00
|
|
|
// Classes:
|
|
|
|
// GTLServicePlus (0 custom class methods, 0 custom properties)
|
|
|
|
|
|
|
|
#import "GTLPlus.h"
|
|
|
|
|
|
|
|
@implementation GTLServicePlus
|
|
|
|
|
|
|
|
#if DEBUG
|
|
|
|
// Method compiled in debug builds just to check that all the needed support
|
|
|
|
// classes are present at link time.
|
|
|
|
+ (NSArray *)checkClasses {
|
|
|
|
NSArray *classes = [NSArray arrayWithObjects:
|
|
|
|
[GTLQueryPlus class],
|
|
|
|
[GTLPlusItemScope class],
|
|
|
|
[GTLPlusMoment class],
|
|
|
|
nil];
|
|
|
|
return classes;
|
|
|
|
}
|
|
|
|
#endif // DEBUG
|
|
|
|
|
|
|
|
- (id)init {
|
|
|
|
self = [super init];
|
|
|
|
if (self) {
|
|
|
|
// Version from discovery.
|
|
|
|
self.apiVersion = @"v1moments";
|
|
|
|
|
|
|
|
// From discovery. Where to send JSON-RPC.
|
|
|
|
// Turn off prettyPrint for this service to save bandwidth (especially on
|
|
|
|
// mobile). The fetcher logging will pretty print.
|
|
|
|
self.rpcURL = [NSURL URLWithString:@"https://www.googleapis.com/rpc?prettyPrint=false"];
|
|
|
|
}
|
|
|
|
return self;
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|