class Facebook::Client
- Facebook::Client
- Reference
- Object
Included Modules
Defined in:
facebook/client.crConstructors
Instance Method Summary
- #api : Api
- #api=(v : Api) : Api
-
#api=(v : Nil)
nil
assignments are always ignored - #api=(path : String)
- #api? : Api | Nil
- #auth : Auth
- #auth=(v : Auth) : Auth
-
#auth=(v : Nil)
nil
assignments are always ignored - #auth=(access_token : String)
- #auth? : Auth | Nil
- #authorized_url!(url : String)
- #dryrun! : Client
-
#get(path : String, data = {} of String => String) : Response
See ./api/*.cr ##################################################################### ## HTTP methods
- #host : Host
- #host=(v : Host) : Host
-
#host=(v : Nil)
nil
assignments are always ignored - #host=(host : String)
- #host? : Host | Nil
- #libcurl! : Client
- #logger : Logger
- #logger=(v : Logger)
-
#logger=(v : Nil)
nil
assignments are always ignored - #logger? : Logger | Nil
- #post(path : String, form = {} of String => String) : Response
- #request(api : Api | Nil = nil, auth : Auth | Nil = nil, host : Host | Nil = nil) : Request
- #request(req : Request) : Request
-
#strategy=(v : Strategy::Base) : Client
overrides to bind logger
- #validate(req : Request)
Instance methods inherited from module Facebook::Strategy
execute(req : Request) : Responseexecute(*args, **opts) execute, strategy : Strategy::Base strategy, strategy=(v : Strategy::Base)
strategy=(v : Nil) strategy=, strategy? : Strategy::Base | Nil strategy?
Instance methods inherited from module Facebook::Callback
after_executeafter_execute(&callback : Request, Response | Nil -> ) after_execute, before_execute
before_execute(&callback : Request -> ) before_execute, before_validate
before_validate(&callback : Request -> ) before_validate
Constructor Detail
Instance Method Detail
Description copied from module Facebook::Strategy
overrides to bind logger