Skip to content

NameError: uninitialized constant NeAPI::Auth::Launchy #10

@hardreggaecafe

Description

@hardreggaecafe

度々すみません。
バッチ処理で必要なrefresh_tokenを取得するために以下のようなソースを作成しました。

  auth = NeAPI::Auth.new redirect_url: CALLBACK_URL
  tmp =  auth.sign_in CLIENT_ID, CLIENT_SECRET
  res = auth.ne_auth tmp.uid, tmp.state, CLIENT_ID, CLIENT_SECRET

恐らく
https://developer.next-engine.com/api/api_v1_sign_in
をベースにされているかと考えられますが、
auth.sign_in のところで
NameError: uninitialized constant NeAPI::Auth::Launchy
となってしまいます。これは何が問題なのでしょうか?
すみませんが、よろしくお願いします。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions