Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Make export attribute style consistent.
  • Loading branch information
Tim Fletcher committed Nov 6, 2008
1 parent 102698d commit 1a9d23b1e4c5910590f7b8d76933789f8ace56f6
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 22 deletions.
@@ -1,11 +1,6 @@
-module(oauth).

-export([get/2]).
-export([get/3]).
-export([get/4]).
-export([post/2]).
-export([post/3]).
-export([post/4]).
-export([get/2, get/3, get/4, post/2, post/3, post/4]).


get(URL, Consumer) ->
@@ -1,6 +1,6 @@
-module(oauth_consumer).

-compile(export_all).
-export([key/1, new/3, secret/1, signature_method/1]).


new(Key, Secret, SignatureMethod) ->
@@ -1,10 +1,6 @@
-module(oauth_hmac).

-export([signature/3]).

% for testing:
-export([base_string/3]).
-export([normalize/1]).
-export([base_string/3, normalize/1, signature/3]).


signature({Method, URL, Params}, ConsumerSecret, TokenSecret) ->
@@ -1,7 +1,6 @@
-module(oauth_http).

-export([get/1]).
-export([post/2]).
-export([get/1, post/2]).


get(URL) ->
@@ -1,8 +1,6 @@
-module(oauth_params).

-export([to_string/1]).
-export([to_header_string/1]).
-export([from_string/1]).
-export([from_string/1, to_string/1, to_header_string/1]).

-import(lists, [map/2]).

@@ -1,8 +1,6 @@
-module(oauth_request).

-export([params_string/5]).
-export([url/5]).
-export([header/6]).
-export([header/6, params_string/5, url/5]).


params_string(Method, URL, ExtraParams, Consumer, TokenPair) ->
@@ -1,7 +1,6 @@
-module(oauth_token_pair).

-export([new/2]).
-export([new/1]).
-export([new/1, new/2]).


new(Token, TokenSecret) ->

0 comments on commit 1a9d23b

Please sign in to comment.